From: Donatas Abraitis Date: Sat, 6 Nov 2021 13:50:56 +0000 (+0200) Subject: bgpd: Set afi by default to AFI_IP6 for `show bgp vrf/view all` X-Git-Tag: base_8.2~243^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=54d05dea572e923e45e38baec71cc602a3319669;p=mirror%2Ffrr.git bgpd: Set afi by default to AFI_IP6 for `show bgp vrf/view all` AFI/SAFI is handled in bgp_vty_find_and_parse_afi_safi_bgp() properly for IPv4, but not for IPv6. Let's have it enabled for IPv6 by default. Signed-off-by: Donatas Abraitis --- diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 4b798cc264..b72cabc7ef 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -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;