loxi-prep: rename uses of match fields
diff --git a/tests/caps.py b/tests/caps.py
index 8d7779e..76147d7 100644
--- a/tests/caps.py
+++ b/tests/caps.py
@@ -35,7 +35,7 @@
for port in of_ports:
break;
match.in_port = port
- match.nw_src = 1
+ match.ipv4_src = 1
request = ofp.message.flow_mod()
count_check = 101 # fixme: better way to determine this.
if is_exact:
@@ -63,7 +63,7 @@
logging.info("Check every " + str(count_check) + " inserts")
while True:
- request.match.nw_src += 1
+ request.match.ipv4_src += 1
obj.controller.message_send(request)
flow_count += 1
if flow_count % count_check == 0: