Correctly call cli() rather than CLI()

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