summaryrefslogtreecommitdiff
path: root/bgpd/bgp_route.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_route.c')
-rw-r--r--bgpd/bgp_route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index aabd264a..eaedbc4c 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -9381,7 +9381,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
{