From: Daniel Walton Date: Fri, 23 Sep 2016 11:33:50 +0000 (+0000) Subject: lib: undo <> -> () change I made yesterday X-Git-Tag: frr-3.0-branchpoint~129^2~181 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=8d1fc5b581e149a7e9212e387bc5f646d4a8920e;p=matthieu%2Ffrr.git lib: undo <> -> () change I made yesterday Signed-off-by: Daniel Walton --- diff --git a/lib/command.h b/lib/command.h index 7b0fbfb780..eef4b558af 100644 --- a/lib/command.h +++ b/lib/command.h @@ -372,25 +372,25 @@ struct cmd_element /* IPv4 only machine should not accept IPv6 address for peer's IP address. So we replace VTY command string like below. */ #ifdef HAVE_IPV6 -#define NEIGHBOR_CMD "neighbor (A.B.C.D|X:X::X:X) " -#define NO_NEIGHBOR_CMD "no neighbor (A.B.C.D|X:X::X:X) " +#define NEIGHBOR_CMD "neighbor " +#define NO_NEIGHBOR_CMD "no neighbor " #define NEIGHBOR_ADDR_STR "Neighbor address\nIPv6 address\n" -#define NEIGHBOR_CMD2 "neighbor (A.B.C.D|X:X::X:X|WORD) " -#define NO_NEIGHBOR_CMD2 "no neighbor (A.B.C.D|X:X::X:X|WORD) " +#define NEIGHBOR_CMD2 "neighbor " +#define NO_NEIGHBOR_CMD2 "no neighbor " #define NEIGHBOR_ADDR_STR2 "Neighbor address\nNeighbor IPv6 address\nInterface name or neighbor tag\n" #define NEIGHBOR_ADDR_STR3 "Neighbor address\nIPv6 address\nInterface name\n" #else #define NEIGHBOR_CMD "neighbor A.B.C.D " #define NO_NEIGHBOR_CMD "no neighbor A.B.C.D " #define NEIGHBOR_ADDR_STR "Neighbor address\n" -#define NEIGHBOR_CMD2 "neighbor (A.B.C.D|WORD) " -#define NO_NEIGHBOR_CMD2 "no neighbor (A.B.C.D|WORD) " +#define NEIGHBOR_CMD2 "neighbor " +#define NO_NEIGHBOR_CMD2 "no neighbor " #define NEIGHBOR_ADDR_STR2 "Neighbor address\nNeighbor tag\n" #endif /* HAVE_IPV6 */ /* Dynamic neighbor (listen range) configuration */ #ifdef HAVE_IPV6 -#define LISTEN_RANGE_CMD "bgp listen range (A.B.C.D/M|X:X::X:X/M) " +#define LISTEN_RANGE_CMD "bgp listen range " #define LISTEN_RANGE_ADDR_STR "Neighbor address\nNeighbor IPv6 address\n" #else #define LISTEN_RANGE_CMD "bgp listen range A.B.C.D/M "