mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-09 09:47:11 +00:00
[bgpd] Restore ability of 'neighbor ... update-source' to take interface name
* bgp_vty.c: (BGP_UPDATE_SOURCE_STR) Restore ability to accept arbitrary interface names for the 'neighbor ... update-source' command - shouldn't have been deleted. (BGP_UPDATE_SOURCE_STR) Add help for same.
This commit is contained in:
parent
5b40b1b57e
commit
9a1a331d63
@ -2820,10 +2820,11 @@ peer_update_source_vty (struct vty *vty, const char *peer_str,
|
|||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define BGP_UPDATE_SOURCE_STR "(A.B.C.D|X:X::X:X)"
|
#define BGP_UPDATE_SOURCE_STR "(A.B.C.D|X:X::X:X|WORD)"
|
||||||
#define BGP_UPDATE_SOURCE_HELP_STR \
|
#define BGP_UPDATE_SOURCE_HELP_STR \
|
||||||
"IPv4 address\n" \
|
"IPv4 address\n" \
|
||||||
"IPv6 address\n"
|
"IPv6 address\n" \
|
||||||
|
"Interface name (requires zebra to be running)\n"
|
||||||
|
|
||||||
DEFUN (neighbor_update_source,
|
DEFUN (neighbor_update_source,
|
||||||
neighbor_update_source_cmd,
|
neighbor_update_source_cmd,
|
||||||
|
Loading…
Reference in New Issue
Block a user