Merge pull request #9984 from ton31337/fix/bgp_view_all

bgpd: Set afi by default to AFI_IP6 for `show bgp vrf/view all`
This commit is contained in:
Donald Sharp 2021-11-08 12:27:10 -05:00 committed by GitHub
commit 240f79f89f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12484,7 +12484,7 @@ DEFPY (show_ip_bgp_instance_all,
JSON_STR
"Increase table width for longer prefixes\n")
{
afi_t afi = AFI_IP;
afi_t afi = AFI_IP6;
safi_t safi = SAFI_UNICAST;
struct bgp *bgp = NULL;
int idx = 0;
@ -14086,7 +14086,7 @@ DEFUN (show_ip_bgp_flowspec_routes_detailed,
"Detailed information on flowspec entries\n"
JSON_STR)
{
afi_t afi = AFI_IP;
afi_t afi = AFI_IP6;
safi_t safi = SAFI_UNICAST;
struct bgp *bgp = NULL;
int idx = 0;