diff --git a/tests/flow_expire.py b/tests/flow_expire.py index ccbad2068..409f1b422 100644 --- a/tests/flow_expire.py +++ b/tests/flow_expire.py @@ -40,6 +40,7 @@ def runTest(self): pkt = simple_tcp_packet() match = packet_to_flow_match(self, pkt) match.wildcards &= ~ofp.OFPFW_IN_PORT + match.wildcards |= ofp.OFPFW_DL_VLAN_PCP self.assertTrue(match is not None, "Could not generate flow match from pkt") act = ofp.action.output() diff --git a/tests/flow_stats.py b/tests/flow_stats.py index 772be6854..06cd0bd2c 100644 --- a/tests/flow_stats.py +++ b/tests/flow_stats.py @@ -119,6 +119,7 @@ def runTest(self): pkt = simple_tcp_packet() match = packet_to_flow_match(self, pkt) match.wildcards &= ~ofp.OFPFW_IN_PORT + match.wildcards |= ofp.OFPFW_DL_VLAN_PCP self.assertTrue(match is not None, "Could not generate flow match from pkt") act = ofp.action.output()