From: Christian Franke <nob...@nowhere.ws> bgpd uses an internal value SAFI_MPLS_VPN == 4 to index the information related to mpls vpn, while the IANA safi value is SAFI_MPLS_LABELED_VPN == 128. To access the bgp_table_stats, the internal value has to be used, not the wire-format value.
Signed-off-by: Christian Franke <ch...@opensourcerouting.org> --- 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 c364372..2fd1675 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.8.0 _______________________________________________ Quagga-dev mailing list Quagga-dev@lists.quagga.net https://lists.quagga.net/mailman/listinfo/quagga-dev