mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 16:39:33 +00:00
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>
This commit is contained in:
parent
548ec776ed
commit
6f875a362a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user