diff --git a/bgpd/bgp_routemap.c b/bgpd/bgp_routemap.c index f2c94371a4..25dbf2c489 100644 --- a/bgpd/bgp_routemap.c +++ b/bgpd/bgp_routemap.c @@ -4400,12 +4400,13 @@ DEFUN (no_set_ipv6_nexthop_global, #ifdef KEEP_OLD_VPN_COMMANDS DEFUN (set_vpn_nexthop, set_vpn_nexthop_cmd, - "set next-hop ", + "set ", SET_STR "VPNv4 information\n" - "VPNv6 information\n" "VPN next-hop address\n" "IP address of next hop\n" + "VPNv6 information\n" + "VPN next-hop address\n" "IPv6 address of next hop\n") { int idx_ip = 3; @@ -4426,12 +4427,14 @@ DEFUN (set_vpn_nexthop, DEFUN (no_set_vpn_nexthop, no_set_vpn_nexthop_cmd, - "no set vpn next-hop ", + "no set ", NO_STR SET_STR - "VPN information\n" + "VPNv4 information\n" "VPN next-hop address\n" "IP address of next hop\n" + "VPNv6 information\n" + "VPN next-hop address\n" "IPv6 address of next hop\n") { int idx_ip = 4;