diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-04-16 09:07:12 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-04-18 14:57:54 -0400 |
| commit | 80ad04184f2e0b20bf8d0eff8fdd94fc1fb690da (patch) | |
| tree | 5eac706ebd649dab6566d27026cbbee72ff35ae1 /lib/compiler.h | |
| parent | dd50eeb11501268003148b4d445be882db12823d (diff) | |
zebra: Double check is not necessary in nexthop_active_update
The nexthop_active_update command looks at each individual
nexthop and decides if it has changed. If any nexthop
has changed we will set the re->status to ROUTE_ENTRY_CHANGED
and ROUTE_ENTRY_NEXTHOPS_CHANGED.
Additionally the test for old_nh_num != curr_active
makes no sense because suppose we have several events
we are processing at the same time and a total ecmp
of 16 but 14 are active at the start and 14 are active
at the end but different interfaces are up or down.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/compiler.h')
0 files changed, 0 insertions, 0 deletions
