From f7e0db80693aea7f5fd3d8d4f00e97347c8d0ba5 Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Mon, 22 Jun 2009 11:30:47 +0100 Subject: [bgpd] Fix 'update-source' command: It doesn't accept interface names * bgp_vty.c: BGP_UPDATE_SOURCE_STR define should only specify IP addresses, the underlying mechanisms won't do anything useful with interface names. Fix bug #527. --- bgpd/bgp_vty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bgpd/bgp_vty.c') diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index e79e4775..e97b4c97 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -2808,10 +2808,10 @@ peer_update_source_vty (struct vty *vty, const char *peer_str, return CMD_SUCCESS; } -#define BGP_UPDATE_SOURCE_STR "(A.B.C.D|WORD)" +#define BGP_UPDATE_SOURCE_STR "(A.B.C.D|X:X::X:X)" #define BGP_UPDATE_SOURCE_HELP_STR \ "IPv4 address\n" \ - "Interface name\n" + "IPv6 address\n" DEFUN (neighbor_update_source, neighbor_update_source_cmd, -- cgit v1.2.1