summaryrefslogtreecommitdiff
path: root/zebra/debug.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-08-05 10:10:37 -0400
committerDonald Sharp <sharpd@nvidia.com>2021-08-06 10:02:53 -0400
commitf0afc61d58032e1c949728bad776e2046a154c8a (patch)
tree28cb6a822b6f176d3548c55d76f6a2bac41cbf59 /zebra/debug.c
parent6696b16bf0672ae16e7d1c852c25e4f424721b39 (diff)
zebra: short-circuit rib_process when nothing to do
When we are calling rib_process and the route_node in question has no dest, there is no work to do here at all. As such we should just return before attempting to do any other work. This is just a tiny bit of simplification being done. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/debug.c')
0 files changed, 0 insertions, 0 deletions