commit | ac0fabce6b9955dd489f1e60c3f20a0d19e3fcf6 | [log] [tgz] |
---|---|---|
author | Pavlin Radoslavov <pavlin@onlab.us> | Fri Dec 13 10:47:56 2013 -0800 |
committer | Pavlin Radoslavov <pavlin@onlab.us> | Fri Dec 13 10:47:56 2013 -0800 |
tree | e1cf6d907408293cac1b4487583b02f9ce611049 | |
parent | 15f15a7a215f494db852eff10c5204732091d553 [diff] [blame] |
Fix a bug inside method FlowManager.flowEntryOnSwitchExpired()
diff --git a/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowManager.java b/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowManager.java index 84b175f..18c34de 100644 --- a/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowManager.java +++ b/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowManager.java
@@ -368,7 +368,7 @@ FlowEntryId flowEntryId) { // Find the Flow Entry FlowEntry flowEntry = datagridService.getFlowEntry(flowEntryId); - if (flowEntryId == null) + if (flowEntry == null) return; // Flow Entry not found // Find the Flow Path