bgpd: 'show bgp ipv6 neighbors <X::Y> prefix-counts' prefix-count is

not getting displayed.

Neighbour prefix-count is not getting displayed with IPV6 neighbours
and displays the o/p “ % No such neighbor or address family ”.
However, I observed it is working fine for IPV4 neighbour.

Signed-off-by: Biswajit Sadhu <sadhub@vmware.com>
This commit is contained in:
Biswajit Sadhu 2019-06-24 00:50:33 -07:00
parent a123bd4ad6
commit 29c8d9da62

View File

@ -10992,7 +10992,7 @@ DEFUN (show_ip_bgp_instance_neighbor_prefix_counts,
if (!peer)
return CMD_WARNING;
return bgp_peer_counts(vty, peer, AFI_IP, SAFI_UNICAST, uj);
return bgp_peer_counts(vty, peer, afi, safi, uj);
}
#ifdef KEEP_OLD_VPN_COMMANDS