summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-10-18 20:44:52 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-10-31 06:23:32 -0400
commit093e3f23f63ae90ce2a7407ecdec9a86b99dacd9 (patch)
treea95e88a15da69a4f94214a4c6026a804768e9c29 /lib/command.h
parentf3a930da157cd9febea3d8f0f723fb8351e75d9c (diff)
bgpd, lib, vtysh, zebra: Convert to using CMD_VNI_RANGE
For the vni range use a macro to keep track of it. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h
index de65c8bd98..cfe0114297 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -377,6 +377,7 @@ struct cmd_node {
#define WATCHFRR_STR "watchfrr information\n"
#define ZEBRA_STR "Zebra information\n"
+#define CMD_VNI_RANGE "(1-16777215)"
#define CONF_BACKUP_EXT ".sav"
/* Command warnings. */