alshabib

fixed packet dups

...@@ -61,6 +61,7 @@ public final class DefaultOpenFlowPacketContext implements OpenFlowPacketContext ...@@ -61,6 +61,7 @@ public final class DefaultOpenFlowPacketContext implements OpenFlowPacketContext
61 OFAction act = buildOutput(outPort.getPortNumber()); 61 OFAction act = buildOutput(outPort.getPortNumber());
62 pktout = builder.setXid(pktin.getXid()) 62 pktout = builder.setXid(pktin.getXid())
63 .setBufferId(OFBufferId.NO_BUFFER) 63 .setBufferId(OFBufferId.NO_BUFFER)
64 + .setInPort(pktin.getInPort())
64 .setActions(Collections.singletonList(act)) 65 .setActions(Collections.singletonList(act))
65 .setData(ethFrame.serialize()) 66 .setData(ethFrame.serialize())
66 .build(); 67 .build();
......