pktact.FlowToggle: of_port index out of range
diff --git a/tests/pktact.py b/tests/pktact.py
index b6c2d41..3fa0257 100644
--- a/tests/pktact.py
+++ b/tests/pktact.py
@@ -1669,7 +1669,7 @@
                 pkt = simple_tcp_packet(tcp_sport=f_idx)
                 msg = message.flow_mod()
                 match = parse.packet_to_flow_match(pkt)
-                match.in_port = of_ports[3]
+                match.in_port = of_ports[2]
                 match.wildcards = wildcards
                 msg.match = match
                 msg.buffer_id = 0xffffffff