diff options
| author | Denis Ovsienko <infrastation@yandex.ru> | 2011-07-13 16:53:13 +0400 | 
|---|---|---|
| committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-07-13 16:53:13 +0400 | 
| commit | 87f011e5297ab9d3c599916800aab1198613071e (patch) | |
| tree | 3d165036dd68dcf3eea1dd66f5d373fc15a86bf3 /bgpd/bgp_route.c | |
| parent | ea15b20a7cb8e41e61c48e36a554c576ed6f2f91 (diff) | |
bgpd: fix SAFI for for MPLS labeled VPN-IPv6
* bgpd.h: change value of BGP_SAFI_VPNV6 to 128 (RFC4659, BZ#659)
* bgp_route.c: (bgp_table_stats_vty) fix length argument to strncmp()
Diffstat (limited to 'bgpd/bgp_route.c')
| -rw-r--r-- | bgpd/bgp_route.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 75a59cb4..1da5d1da 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -9090,7 +9090,7 @@ bgp_table_stats_vty (struct vty *vty, const char *name,          safi = SAFI_UNICAST;        else if (strncmp (safi_str, "vpnv4", 5) == 0)          safi = BGP_SAFI_VPNV4; -      else if (strncmp (safi_str, "vpnv6", 6) == 0) +      else if (strncmp (safi_str, "vpnv6", 5) == 0)          safi = BGP_SAFI_VPNV6;        else          {  | 
