summaryrefslogtreecommitdiff
path: root/bgpd
diff options
context:
space:
mode:
authorPaul Jakma <paul@quagga.net>2009-07-27 12:27:55 +0100
committerPaul Jakma <paul@quagga.net>2009-07-27 12:27:55 +0100
commit9a1a331d63ae9db1912a1edb48c5c176454562f8 (patch)
treed6da5f9ce7e6760f59a7fda7ceeb89877a3148c5 /bgpd
parent5b40b1b57e1fad1caf579e032adf4e111128e486 (diff)
[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.
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_vty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 13c37b57..88be52e2 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -2820,10 +2820,11 @@ peer_update_source_vty (struct vty *vty, const char *peer_str,
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 \
"IPv4 address\n" \
- "IPv6 address\n"
+ "IPv6 address\n" \
+ "Interface name (requires zebra to be running)\n"
DEFUN (neighbor_update_source,
neighbor_update_source_cmd,