Fix --controller=remote

This commit is contained in:
Bob Lantz
2010-03-26 18:41:09 -07:00
parent ffd089ea1c
commit 5791f32a2d
+1 -1
View File
@@ -201,7 +201,7 @@ class MininetRunner( object ):
host = HOSTS[ self.options.host ] host = HOSTS[ self.options.host ]
controller = CONTROLLERS[ self.options.controller ] controller = CONTROLLERS[ self.options.controller ]
if self.options.controller == 'remote': if self.options.controller == 'remote':
controller = lambda a, b: RemoteController( a, b, controller = lambda a: RemoteController( a,
defaultIP=self.options.ip, defaultIP=self.options.ip,
port=self.options.port ) port=self.options.port )