From c8641d7d15a425afedc95a2b3eb291a2fcae161c Mon Sep 17 00:00:00 2001 From: Brandon Heller Date: Fri, 5 Mar 2010 01:13:22 -0800 Subject: [PATCH] Fix remote controller param --- bin/mn | 2 +- mininet/node.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mn b/bin/mn index 9cf47cd..8c312d0 100755 --- a/bin/mn +++ b/bin/mn @@ -201,7 +201,7 @@ class MininetRunner( object ): controller = CONTROLLERS[ self.options.controller ] if self.options.controller == 'remote': controller = lambda a, b: RemoteController( a, b, - ipAddress=self.options.ip, + defaultIP=self.options.ip, port=self.options.port ) if self.validate: diff --git a/mininet/node.py b/mininet/node.py index fb98ff3..86a85ea 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -561,7 +561,7 @@ class RemoteController( Controller ): port=6633 ): """Init. name: name to give controller - ipAddress: the IP address where the remote controller is + defaultIP: the IP address where the remote controller is listening port: the port where the remote controller is listening""" Controller.__init__( self, name, defaultIP=defaultIP, port=port )