From: Paul Jakma Date: Mon, 22 Jun 2009 10:30:47 +0000 (+0100) Subject: [bgpd] Fix 'update-source' command: It doesn't accept interface names X-Git-Tag: frr-2.0-rc1~2276 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=f7e0db80693aea7f5fd3d8d4f00e97347c8d0ba5;p=mirror%2Ffrr.git [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. --- diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index e79e4775f5..e97b4c9728 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,