summaryrefslogtreecommitdiff
path: root/lib/northbound_cli.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2020-09-30 17:26:02 -0400
committerDonald Sharp <sharpd@nvidia.com>2020-09-30 17:26:44 -0400
commit5c18e66208b9c99a8c8bc4af93528404b341862b (patch)
treee323578f36778a9c9bf971ec03a798555896e0f0 /lib/northbound_cli.c
parent9805b533eb409c9d66cd6612471cc29705e0a62e (diff)
zebra: Prevent uninstall attempts when new entry is not happy
In rib_process_update_fib, the function is sent two route entries the old ( previously installed ) and new ( the one to install ) When the function detects that the new is unusable because the number of nexthops that are usable for that route is 0, then we uninstall the old route. The problem here is that we should not attempt to uninstall any route that is not owned by FRR. Modify the code to not attempt this behavior Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/northbound_cli.c')
0 files changed, 0 insertions, 0 deletions