testutils: fix undefined variable in packet_in_match
diff --git a/src/python/oftest/testutils.py b/src/python/oftest/testutils.py
index 8556214..49f4793 100644
--- a/src/python/oftest/testutils.py
+++ b/src/python/oftest/testutils.py
@@ -1507,7 +1507,7 @@
pkt_in_port = None
if in_port != None and in_port != pkt_in_port:
- logging.debug("Incorrect packet_in in_port (expected %d, received %d)", in_port, msg.in_port)
+ logging.debug("Incorrect packet_in in_port (expected %d, received %d)", in_port, pkt_in_port)
return False
if reason != None and reason != msg.reason: