From f51eddef6d2c6cbcffd6184bdc2de537fc475804 Mon Sep 17 00:00:00 2001 From: Bob Lantz <rlantz@cs.stanford.edu> Date: Wed, 5 Nov 2014 18:41:00 -0800 Subject: [PATCH] Return controller correctly. --- mininet/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mininet/node.py b/mininet/node.py index 948e57cb..73602b18 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" -- GitLab