summaryrefslogtreecommitdiff
path: root/tests/topotests/ospf_basic_functionality/test_ospf_ecmp.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2020-10-02 07:18:58 -0400
committerDonald Sharp <sharpd@nvidia.com>2021-01-15 19:34:33 -0500
commit284a6f5ff1312265b48699310b5a5bc6ecb10e1a (patch)
tree0b90b06611aa647f6a2f86d62382edbf50dee95e /tests/topotests/ospf_basic_functionality/test_ospf_ecmp.py
parent3d34678f1dd976cb99b5289c802224b5374eb3c5 (diff)
lib: Keep track of route-map applications per section
When the routemap code was rewritten for performance the code to track the number of times a particular section of a route-map was applied was not correctly updated. In this case I found another sequence of events where the number of times a section was invoked was not being correctly kept. Effectively in this case when route_map_get_index is called and returns an index the route map has been applied( see that skip_match_clause is set to true and then in the for loop below the skip_match_clause is tested and index->applied is incremented. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_ecmp.py')
0 files changed, 0 insertions, 0 deletions