summaryrefslogtreecommitdiff
path: root/lib/northbound_cli.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2020-09-30 17:55:44 -0400
committerDonald Sharp <sharpd@nvidia.com>2020-10-01 15:17:06 -0400
commit9d221fac7ef25e110b1d4bce82e2047b0e1e0c9c (patch)
treed85cab242b21a2c11b6d2cdfbea465d1056c9ef3 /lib/northbound_cli.c
parent5c18e66208b9c99a8c8bc4af93528404b341862b (diff)
zebra: When processing route_entries ignore unusable routes
When zebra is processing routes to determine what to send to the rib, suppose we have two routes (a) a route processed earlier that none of it's nexthops were active and (b) a route that has good nexthops but has a worse admin distance. rib_process, would not relook at (a)'s nexthops because the ROUTE_ENTRY_CHANGED flag was not true and it would win when compared to (b) because it's admin distance was better, leaving us with a state where we would attempt and fail to install route (a) because it was not valid. Modify the code to consider the number of nexthops we have as a determiner if we can use the route. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/northbound_cli.c')
0 files changed, 0 insertions, 0 deletions