Merge "Fix minor bug in FRM proactive flow code path"
authorGiovanni Meo <gmeo@cisco.com>
Fri, 2 Aug 2013 14:55:00 +0000 (14:55 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 2 Aug 2013 14:55:00 +0000 (14:55 +0000)
opendaylight/forwardingrulesmanager/implementation/src/main/java/org/opendaylight/controller/forwardingrulesmanager/internal/ForwardingRulesManager.java

index 2eaafb6..cade266 100644 (file)
@@ -1915,7 +1915,7 @@ public class ForwardingRulesManager implements IForwardingRulesManager, PortGrou
 
         log.info("Forwarding mode for node {} set to {}", node, (proactive ? "proactive" : "reactive"));
         for (FlowConfig fc : defaultConfigs) {
-            Status status = (proactive) ? addStaticFlowInternal(fc, true) : removeStaticFlow(fc);
+            Status status = (proactive) ? addStaticFlowInternal(fc, false) : removeStaticFlow(fc);
             if (status.isSuccess()) {
                 log.info("{} Proactive Static flow: {}", (proactive ? "Installed" : "Removed"), fc.getName());
             } else {