mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-10-31 09:04:27 +00:00 
			
		
		
		
	Merge pull request #800 from qlyoung/fix-old-vpn-commands
bgpd: fix old-style vpn commands
This commit is contained in:
		
						commit
						ac45e83c04
					
				| @ -4402,12 +4402,13 @@ DEFUN (no_set_ipv6_nexthop_global, | ||||
| #ifdef KEEP_OLD_VPN_COMMANDS | ||||
| DEFUN (set_vpn_nexthop, | ||||
|        set_vpn_nexthop_cmd, | ||||
|        "set <vpnv4|vpnv6> next-hop <A.B.C.D|X:X::X:X>", | ||||
|        "set <vpnv4 next-hop A.B.C.D|vpnv6 next-hop X:X::X:X>", | ||||
|        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; | ||||
| @ -4428,12 +4429,14 @@ DEFUN (set_vpn_nexthop, | ||||
| 
 | ||||
| DEFUN (no_set_vpn_nexthop, | ||||
|        no_set_vpn_nexthop_cmd, | ||||
|        "no set vpn next-hop <A.B.C.D|X:X::X:X>", | ||||
|        "no set <vpnv4 next-hop A.B.C.D|vpnv6 next-hop X:X::X:X>", | ||||
|        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; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Russ White
						Russ White