summaryrefslogtreecommitdiff
path: root/tests/topotests/pim_basic/test_pim.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-11-14 10:15:42 -0500
committerDonald Sharp <sharpd@nvidia.com>2023-11-29 13:47:48 -0500
commit2d3005068c10e38b32448ef8acf89a0b67ab4276 (patch)
tree2ec3553a7e23a209b559b159cd28ae0651687973 /tests/topotests/pim_basic/test_pim.py
parent609f40575e99a9248829e4d795fa928ef6169145 (diff)
zebra: Fix non-notification of better admin won
If there happens to be a entry in the zebra rib that has a lower admin distance then a newly received re, zebra would not notify the upper level protocol about this happening. Imagine a case where there is a connected route for say a /32 and bgp receives a route from a peer that is the same route as the connected. Since BGP has no network statement and perceives the route as being `good` bgp will install the route into zebra. Zebra will look at the new bgp re and correctly identify that the re is not something that it will use and do nothing. This change notices this and sends up a BETTER_ADMIN_WON route notification. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/pim_basic/test_pim.py')
0 files changed, 0 insertions, 0 deletions