diff --git a/mininet/node.py b/mininet/node.py index a3fc6f1..349275d 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -1501,7 +1501,7 @@ class RemoteController( Controller ): if self.port is not None: self.isListening( self.ip, self.port ) else: - for port in [ 6653, 6633 ]: + for port in 6653, 6633: if self.isListening( self.ip, port ): self.port = port info( "Connecting to remote controller"