Fix RemoteController which was still using defaultIP rather than ip.

This commit is contained in:
Bob Lantz
2012-05-10 16:52:40 -07:00
parent cece39e439
commit 0eba655d2d
+2 -2
View File
@@ -1031,14 +1031,14 @@ class NOX( Controller ):
class RemoteController( Controller ):
"Controller running outside of Mininet's control."
def __init__( self, name, defaultIP='127.0.0.1',
def __init__( self, name, ip='127.0.0.1',
port=6633, **kwargs):
"""Init.
name: name to give controller
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,
Controller.__init__( self, name, ip=ip, port=port,
**kwargs )
def start( self ):