diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-07-29 20:53:58 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-07-29 20:53:58 +0200 |
commit | 42fc558ee36561c3a024d21e89aacf68b88d25a0 (patch) | |
tree | b76ef94021793567770076105fce447bc392c84f /zebra/zebra_rnh.c | |
parent | zebra: Remove repeated enqueueing of system routes for rethinking (diff) | |
download | frr-42fc558ee36561c3a024d21e89aacf68b88d25a0.tar.xz frr-42fc558ee36561c3a024d21e89aacf68b88d25a0.zip |
zebra, tests: Remove ROUTE_ENTRY_NEXTHOPS_CHANGED
The flag ROUTE_ENTRY_NEXTHOPS_CHANGED is only ever set or unset.
Since this flag is not used for anything useful, remove from system.
By changing this flag we have re-ordered `internalStatus' of json
output of zebra rib routes. Go through and fix up tetsts to
use the new values.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r-- | zebra/zebra_rnh.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c index 6f65f8ab7..5a10892d9 100644 --- a/zebra/zebra_rnh.c +++ b/zebra/zebra_rnh.c @@ -859,10 +859,8 @@ static void zebra_rnh_clear_nhc_flag(struct zebra_vrf *zvrf, afi_t afi, re = zebra_rnh_resolve_nexthop_entry(zvrf, afi, nrn, rnh, &prn); - if (re) { - UNSET_FLAG(re->status, ROUTE_ENTRY_NEXTHOPS_CHANGED); + if (re) UNSET_FLAG(re->status, ROUTE_ENTRY_LABELS_CHANGED); - } } /* Evaluate all tracked entries (nexthops or routes for import into BGP) |