diff --git a/mininet/node.py b/mininet/node.py index 948e57cb388a36e899bef140cf3ee812c978f84a..73602b18e43eb13c23584c0cd6941daad34edb5f 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -1432,7 +1432,7 @@ def findController( controllers=DefaultControllers ): "Return first available controller from list, if any" for controller in controllers: if controller.isAvailable(): - return controller( name, **kwargs ) + return controller def DefaultController( name, controllers=DefaultControllers, **kwargs ): "Find a controller that is available and instantiate it"