summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-01-11 11:31:45 -0500
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-01-11 11:31:45 -0500
commit09f6d019b4c353373b3944a0f80ab51c06998410 (patch)
tree3a0f29aef0ef74946da63a4c76945eeaa6f27dff /lib/command.h
parentc1240044fbf081bb7407b1449d3954e4b63fec9f (diff)
lib, bgpd: fixup use of of CMD_ARGC_MAX
The constant to limit # of allowed cli tokens on any one line was defined in multiple places, all inconsistent with each other. Fix. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.h b/lib/command.h
index 42dd1c5325..fa8323bf2d 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -190,7 +190,7 @@ struct cmd_node {
#define CMD_NOT_MY_INSTANCE 14
/* Argc max counts. */
-#define CMD_ARGC_MAX 25
+#define CMD_ARGC_MAX 256
/* Turn off these macros when uisng cpp with extract.pl */
#ifndef VTYSH_EXTRACT_PL