vty: Increase the number of arguments one can have in VTY commands

For some interactive commands (e.g. sending a SMS in OpenBSC) we
are using the "NAME." arg definition. For the usecase of sending SMS
it is not enough to only allow about 13 spaces. Increase the limit.

Original patch is coming from Dennis Wehrle.
This commit is contained in:
Holger Hans Peter Freyther 2011-07-24 19:58:06 +02:00
parent b7b61236d8
commit c0dbe0be05
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ struct desc {
#define CMD_SUCCESS_DAEMON 10
/* 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