Skip to content
Snippets Groups Projects
Commit ef7ca2e8 authored by Ryan Izard's avatar Ryan Izard
Browse files

don't set table ID for OF1.0 drop flows

parent c84ff50f
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,9 @@ public class Forwarding extends ForwardingBase implements IFloodlightModule, IOF
FlowModUtils.setActions(fmb, actions, sw);
/* Configure for particular switch pipeline */
fmb.setTableId(FLOWMOD_DEFAULT_TABLE_ID);
if (sw.getOFFactory().getVersion().compareTo(OFVersion.OF_10) != 0) {
fmb.setTableId(FLOWMOD_DEFAULT_TABLE_ID);
}
if (log.isDebugEnabled()) {
log.debug("write drop flow-mod sw={} match={} flow-mod={}",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment