diff options
| author | Mark Stapp <mjs@voltanet.io> | 2019-03-25 13:35:02 -0400 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2019-03-25 13:35:02 -0400 |
| commit | 6f875a362aee7f465e3cb25576324ea57a05f27d (patch) | |
| tree | b6e2c0f1e5428c4b9b8d9bdf313cfa81c69958f7 | |
| parent | 548ec776edc4c10518a98f273eded645ab471d27 (diff) | |
zebra: use the INSTALLED flag consistently in route summary
The 'sho ip route summary' and 'sho ip route summary <prefix>'
paths used different definitions of a 'fib' route. Use
the route-entry 'INSTALLED' flag in both places.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
| -rw-r--r-- | zebra/zebra_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index b0884f22cf..f89293814e 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -1375,7 +1375,7 @@ static void vty_show_ip_route_summary(struct vty *vty, else rib_cnt[re->type]++; - if (CHECK_FLAG(re->flags, ZEBRA_FLAG_SELECTED)) { + if (CHECK_FLAG(re->status, ROUTE_ENTRY_INSTALLED)) { fib_cnt[ZEBRA_ROUTE_TOTAL]++; if (is_ibgp) |
