Skip to content
Snippets Groups Projects
Commit 0f49dd17 authored by Ryan Izard's avatar Ryan Izard Committed by GitHub
Browse files

Merge pull request #689 from rizard/master

Each hop of path should optionally ignore in-port in flow match
parents 0375366d ea5d75bf
No related branches found
No related tags found
No related merge requests found
......@@ -250,7 +250,9 @@ public abstract class ForwardingBase implements IOFMessageListener {
// set input and output ports on the switch
OFPort outPort = switchPortList.get(indx).getPortId();
OFPort inPort = switchPortList.get(indx - 1).getPortId();
mb.setExact(MatchField.IN_PORT, inPort);
if (FLOWMOD_DEFAULT_MATCH_IN_PORT) {
mb.setExact(MatchField.IN_PORT, inPort);
}
aob.setPort(outPort);
aob.setMaxLen(Integer.MAX_VALUE);
actions.add(aob.build());
......
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