mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 09:22:32 +00:00
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 <donatas.abraitis@gmail.com>
This commit is contained in:
parent
79fd3e0c97
commit
54d05dea57
@ -12484,7 +12484,7 @@ DEFPY (show_ip_bgp_instance_all,
|
|||||||
JSON_STR
|
JSON_STR
|
||||||
"Increase table width for longer prefixes\n")
|
"Increase table width for longer prefixes\n")
|
||||||
{
|
{
|
||||||
afi_t afi = AFI_IP;
|
afi_t afi = AFI_IP6;
|
||||||
safi_t safi = SAFI_UNICAST;
|
safi_t safi = SAFI_UNICAST;
|
||||||
struct bgp *bgp = NULL;
|
struct bgp *bgp = NULL;
|
||||||
int idx = 0;
|
int idx = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user