Acked-by: Donald Sharp <[email protected]>

On Tue, Jun 14, 2016 at 2:06 PM, Christian Franke <
[email protected]> wrote:

> From: Christian Franke <[email protected]>
>
> 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 <[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 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
> [email protected]
> https://lists.quagga.net/mailman/listinfo/quagga-dev
>
_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to