diff options
-rwxr-xr-x | openbsc/contrib/bsc_control.py | 4 | ||||
-rw-r--r-- | openbsc/src/libctrl/control_cmd.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/contrib/bsc_control.py b/openbsc/contrib/bsc_control.py index cefb11065..f601ca3f5 100755 --- a/openbsc/contrib/bsc_control.py +++ b/openbsc/contrib/bsc_control.py @@ -85,14 +85,14 @@ if options.cmd_get: parser.error("Get requires the var argument") do_get(args[0], options.id, sock) -data = sock.recv(10240) +data = sock.recv(40960) while (len(data)>0): (answer, data) = remove_ipa_ctrl_header(data) print "Got message:", answer if options.monitor: while (True): - data = sock.recv(10240) + data = sock.recv(40960) if len(data) == 0: print "Connection is gone." break diff --git a/openbsc/src/libctrl/control_cmd.c b/openbsc/src/libctrl/control_cmd.c index 3c4efc06d..5bfa7830d 100644 --- a/openbsc/src/libctrl/control_cmd.c +++ b/openbsc/src/libctrl/control_cmd.c @@ -411,7 +411,7 @@ struct msgb *ctrl_cmd_make(struct ctrl_cmd *cmd) if (!cmd->id) return NULL; - msg = msgb_alloc_headroom(4096, 128, "ctrl command make"); + msg = msgb_alloc_headroom(40960, 128, "ctrl command make"); if (!msg) return NULL; |