Fix --controller=remote
This commit is contained in:
1 parent
ffd089ea1c
commit
5791f32a2d
1 file changed
+1
-1
@@ -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 )
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user