summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/python/gnuradio/ctrlport/monitor.py
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2015-04-15 14:03:44 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2015-04-15 14:03:44 -0700
commit527c21cb6a3b1b32610c4acf0bec8956ace2c5bf (patch)
tree5fdb9e755f77d2493d8851f956b074c6f11cb8ce /gnuradio-runtime/python/gnuradio/ctrlport/monitor.py
parent7765798c48b9ec4b1cda43367e97eb778a8ad758 (diff)
parentb092142302bcf8c771ec68e61da7781eb406c86f (diff)
Merge branch 'master' into next
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/ctrlport/monitor.py')
-rw-r--r--gnuradio-runtime/python/gnuradio/ctrlport/monitor.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-runtime/python/gnuradio/ctrlport/monitor.py b/gnuradio-runtime/python/gnuradio/ctrlport/monitor.py
index 8bb26d93a1..f651be2449 100644
--- a/gnuradio-runtime/python/gnuradio/ctrlport/monitor.py
+++ b/gnuradio-runtime/python/gnuradio/ctrlport/monitor.py
@@ -48,9 +48,9 @@ class monitor:
print "monitor::endpoints() = %s" % (gr.rpcmanager_get().endpoints())
try:
cmd = map(lambda a: [self.tool,
- re.search("\d+\.\d+\.\d+\.\d+",a).group(0),
- re.search("-p (\d+)",a).group(1)],
- gr.rpcmanager_get().endpoints())[0]
+ re.search("-h (\S+|\d+\.\d+\.\d+\.\d+)",a).group(1),
+ re.search("-p (\d+)",a).group(1)],
+ gr.rpcmanager_get().endpoints())[0]
print "running: %s"%(str(cmd))
self.proc = subprocess.Popen(cmd);
self.started = True