commit | dde26b65afc83bc0b5efa4782715854284e726e9 | [log] [tgz] |
---|---|---|
author | sivachidambaram subramanian <sisubram@partner.ciena.com> | Tue Feb 07 16:18:33 2017 +0530 |
committer | Thomas Vachuska <tom@onlab.us> | Tue Feb 07 23:34:59 2017 +0000 |
tree | 42e0e0818a672af7f4bf3b0ed842132d18d5f250 | |
parent | 9306e6bc859a2ec2d799fcbaa01840bad665672d [diff] |
FIX-FOR-ONOS-5938 Change-Id: Ica62bac9b37e0d970f1995983c25961d050985e0
diff --git a/core/net/src/main/java/org/onosproject/net/statistic/impl/FlowStatisticManager.java b/core/net/src/main/java/org/onosproject/net/statistic/impl/FlowStatisticManager.java index f77a9ea..1287211 100644 --- a/core/net/src/main/java/org/onosproject/net/statistic/impl/FlowStatisticManager.java +++ b/core/net/src/main/java/org/onosproject/net/statistic/impl/FlowStatisticManager.java
@@ -279,11 +279,12 @@ // current and previous set is not empty! boolean isAllInstType = (instType == null ? true : false); // null is all inst type + boolean isAllLiveType = (liveType == null ? true : false); // null is all live type Map<FlowRule, FlowEntry> currentMap; Map<FlowRule, FlowEntry> previousMap; - if (isAllInstType) { + if (isAllLiveType) { currentMap = typedStatistics.currentAll(); previousMap = typedStatistics.previousAll(); } else {