osmux: osmux batch-factor can't be higher than 8
The osmux header uses a counter of 3 bits, so you can put up to 8 message in it.
This commit is contained in:
parent
fcec6d85d0
commit
c20a661272
|
@ -1130,7 +1130,7 @@ DEFUN(cfg_mgcp_osmux,
|
||||||
|
|
||||||
DEFUN(cfg_mgcp_osmux_batch_factor,
|
DEFUN(cfg_mgcp_osmux_batch_factor,
|
||||||
cfg_mgcp_osmux_batch_factor_cmd,
|
cfg_mgcp_osmux_batch_factor_cmd,
|
||||||
"osmux batch-factor <1-16>",
|
"osmux batch-factor <1-8>",
|
||||||
OSMUX_STR "Batching factor\n" "Number of messages in the batch\n")
|
OSMUX_STR "Batching factor\n" "Number of messages in the batch\n")
|
||||||
{
|
{
|
||||||
g_cfg->osmux_batch = atoi(argv[0]);
|
g_cfg->osmux_batch = atoi(argv[0]);
|
||||||
|
|
Loading…
Reference in New Issue