set in_port on packet_out messages
diff --git a/tests/load.py b/tests/load.py
index 0f74d56..dcd873b 100644
--- a/tests/load.py
+++ b/tests/load.py
@@ -82,6 +82,7 @@
# Create packet out and send to port lb_port + 1
msg = message.packet_out()
+ msg.in_port = lb_port
msg.data = str(pkt)
act = action.action_output()
act.port = lb_port + 1
@@ -176,6 +177,7 @@
logging.info("PKT OUT test with %s, port %s" % (opt, dp_port))
msg = message.packet_out()
+ msg.in_port = ofp.OFPP_NONE
msg.data = str(outpkt)
act = action.action_output()
act.port = dp_port