commit | 2b5d0716877ab33fc9c3a82df4dc1cff50c8873e | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@onlab.us> | Wed Oct 30 15:48:13 2013 -0700 |
committer | Yuta HIGUCHI <y-higuchi@onlab.us> | Wed Oct 30 16:05:12 2013 -0700 |
tree | 50c293147c4f8523ceac4dd3eb6d18b570b2b1fb | |
parent | b3efdcae513f4d64d2de3c6522bfc91179fc7fd7 [diff] |
bug fix: From declaration this map expects a Long for Key not FlowId
diff --git a/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowEventHandler.java b/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowEventHandler.java index 829b934..0a6cd76 100644 --- a/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowEventHandler.java +++ b/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowEventHandler.java
@@ -226,7 +226,7 @@ flowEntry.setFlowEntrySwitchState(FlowEntrySwitchState.FE_SWITCH_NOT_UPDATED); } - allFlowPaths.remove(existingFlowPath.flowId()); + allFlowPaths.remove(existingFlowPath.flowId().value()); modifiedFlowPaths.add(existingFlowPath); break;