mirror of https://gerrit.osmocom.org/libosmocore
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:
parent
b7b61236d8
commit
c0dbe0be05
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue