Correctly call cli() rather than CLI()

This commit is contained in:
Bob Lantz
2014-11-19 09:18:05 -08:00
parent aabbf29542
commit c4fc630413
+2 -2
View File
@@ -338,13 +338,13 @@ class MininetRunner( object ):
mn.ping() mn.ping()
mn.iperf() mn.iperf()
elif test == 'cli': elif test == 'cli':
CLI( mn ) cli( mn )
elif test != 'build': elif test != 'build':
mn.waitConnected() mn.waitConnected()
getattr( mn, test )() getattr( mn, test )()
if self.options.post: if self.options.post:
CLI( mn, script=self.options.post ) cli( mn, script=self.options.post )
mn.stop() mn.stop()