Jonathan Hart
Committed by Gerrit Code Review

Ignore table ID from flow stats reply when creating OF1.0 flow rule.

Change-Id: Ife15bb7e05d78e9d505e0feb5d7381669bcc3b94
......@@ -168,8 +168,10 @@ public class FlowEntryBuilder {
.withTreatment(buildTreatment())
.withPriority(stat.getPriority())
.makeTemporary(stat.getIdleTimeout())
.withCookie(stat.getCookie().getValue())
.forTable(stat.getTableId().getValue());
.withCookie(stat.getCookie().getValue());
if (stat.getVersion() != OFVersion.OF_10) {
builder.forTable(stat.getTableId().getValue());
}
return new DefaultFlowEntry(builder.build(), FlowEntryState.ADDED,
stat.getDurationSec(),
......