aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/contrib/bsc_control.py
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/contrib/bsc_control.py')
-rwxr-xr-xopenbsc/contrib/bsc_control.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/contrib/bsc_control.py b/openbsc/contrib/bsc_control.py
index 9dc01e3bf..beec4c4a8 100755
--- a/openbsc/contrib/bsc_control.py
+++ b/openbsc/contrib/bsc_control.py
@@ -34,6 +34,7 @@ def send(sck, data):
if verbose:
print "Sending \"%s\"" %(data)
data = prefix_ipa_ctrl_header(data)
+ print data.encode("hex")
sck.send(data)
def do_set(var, value, id, sck):
@@ -83,6 +84,7 @@ if options.cmd_set:
if options.cmd_get:
if len(args) != 1:
parser.error("Get requires the var argument")
+ print options.id
do_get(args[0], options.id, sock)
data = sock.recv(1024)