From 0c5ae1a17f8edf8e5bd21fd4d47b4feff5c59fae Mon Sep 17 00:00:00 2001 From: Pramila Singh Date: Tue, 24 Sep 2013 16:35:45 -0700 Subject: [PATCH] Fix: Flows are deleted when another controller is started Change-Id: I9f6c78bb80c4d7f988cc5fd760918f89436f2bf3 Signed-off-by: Pramila Singh --- .../connection/implementation/internal/ConnectionService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendaylight/sal/connection/implementation/src/main/java/org/opendaylight/controller/sal/connection/implementation/internal/ConnectionService.java b/opendaylight/sal/connection/implementation/src/main/java/org/opendaylight/controller/sal/connection/implementation/internal/ConnectionService.java index ad4a5fba94..e2132fb8a0 100644 --- a/opendaylight/sal/connection/implementation/src/main/java/org/opendaylight/controller/sal/connection/implementation/internal/ConnectionService.java +++ b/opendaylight/sal/connection/implementation/src/main/java/org/opendaylight/controller/sal/connection/implementation/internal/ConnectionService.java @@ -100,7 +100,7 @@ public class ConnectionService implements IPluginOutConnectionService, IConnecti * @return true if node is local to this controller. false otherwise. */ public boolean isLocal(Node node) { - if (this.connectionListener == null) return true; + if (this.connectionListener == null) return false; return connectionListener.isLocal(node); } -- 2.36.6