For vpnv4, RIB is reachable through safi index set to SAFI_MPLS_VPN,
whereas value entered through vty was SAFI_MPLS_LABELED_VPN. The value
to be used for parsing RIB is SAFI_MPLS_VPN.

Signed-off-by: Philippe Guibert <[email protected]>
---
 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 c364372f8bf7..2fd16751aa3b 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -11848,7 +11848,7 @@ bgp_table_stats_vty (struct vty *vty, const char *name,
            safi = SAFI_UNICAST;
            break;
        case 'v':
-           safi =  SAFI_MPLS_LABELED_VPN;
+           safi =  SAFI_MPLS_VPN;
            break;
        case 'e':
            safi = SAFI_ENCAP;
-- 
2.1.4


_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to