summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-11-28 18:10:21 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2016-11-28 18:10:21 +0100
commit28c2525098149d7c616d37d367f255ec6f3a430c (patch)
treebd951b604a7bd691460f5bc87877f4710e769d21 /lib/command.h
parent82992fed8c6426f431fa92933dcf4cfe4de926d6 (diff)
parent34d5ef459140ee7e8ae22c220764dba54b6527cf (diff)
Merge commit '34d5ef459140ee7e'
(some build fixups for vtysh-grammar) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/command.h b/lib/command.h
index f5572f7f83..f120063ea9 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -386,14 +386,9 @@ 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_ADDR_STR "Neighbor address\nIPv6 address\n"
#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_ADDR_STR "Neighbor address\n"
-#define NEIGHBOR_ADDR_STR2 "Neighbor address\nNeighbor tag\n"
-#endif /* HAVE_IPV6 */
/* Prototypes. */
extern void install_node (struct cmd_node *, int (*) (struct vty *));