sangho

Fix a bug of wrong flow stats type checking

Change-Id: I5279aa3f620a5914d6d0f986b623137b926724bd
......@@ -281,7 +281,7 @@ public class OpenFlowRuleProvider extends AbstractProvider implements FlowRulePr
providerService.flowRemoved(fr);
break;
case STATS_REPLY:
if (((OFStatsReply) msg).getStatsType() != OFStatsType.FLOW) {
if (((OFStatsReply) msg).getStatsType() == OFStatsType.FLOW) {
pushFlowMetrics(dpid, (OFFlowStatsReply) msg);
}
break;
......