From 29c8d9da629cbd1ec8c022e94c693d9f3a9538b5 Mon Sep 17 00:00:00 2001 From: Biswajit Sadhu Date: Mon, 24 Jun 2019 00:50:33 -0700 Subject: [PATCH] bgpd: 'show bgp ipv6 neighbors prefix-counts' prefix-count is not getting displayed. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- bgpd/bgp_route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index a3aba447b5..9e3ad4e8f2 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -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