From 342d47cfb5d22183931553985d0661ad71c64891 Mon Sep 17 00:00:00 2001 From: Bob Lantz <rlantz@cs.stanford.edu> Date: Thu, 4 Dec 2014 08:56:08 -0800 Subject: [PATCH] call to run() should be to runCmd() --- mininet/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mininet/util.py b/mininet/util.py index 277d057f..0ee27622 100644 --- a/mininet/util.py +++ b/mininet/util.py @@ -554,7 +554,7 @@ def waitListening( client=None, server='127.0.0.1', port=80, timeout=None ): cmd = ( 'sh -c "echo A | telnet -e A %s %s"' % ( serverIP, port ) ) time = 0 - while 'Connected' not in run( cmd ): + while 'Connected' not in runCmd( cmd ): if timeout: print time if time >= timeout: -- GitLab