mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 09:00:55 +00:00
bgpd: get rid of 'unknown' in show safi (broken in earlier merge)
Signed-off-by: Lou Berger <lberger@labn.net>
This commit is contained in:
parent
f799a22aa7
commit
d08aa468d7
@ -10170,7 +10170,9 @@ bgp_show_summary_afi_safi (struct vty *vty, struct bgp *bgp, int afi, int safi,
|
||||
if (safi == SAFI_MPLS_VPN) /* handle special cases to match zebra.h */
|
||||
safi = SAFI_ENCAP;
|
||||
else
|
||||
safi++;
|
||||
safi++;
|
||||
if (safi == SAFI_RESERVED_3) /* handle special cases to match zebra.h */
|
||||
safi++;
|
||||
if (! safi_wildcard)
|
||||
safi = SAFI_MAX;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user