commit | b1ac1a82bd9bbb849c6342433651a394a759d477 | [log] [tgz] |
---|---|---|
author | Flavio Castro <castro.flaviojr@gmail.com> | Wed Feb 03 17:31:59 2016 -0500 |
committer | Flavio Castro <castro.flaviojr@gmail.com> | Wed Feb 03 17:32:17 2016 -0500 |
tree | 7cea1413f9a77c1062d50ce0a96492156fd25c43 | |
parent | 8628adb373e6610020fd09a153c3677b1c431a10 [diff] |
fixing stuff
diff --git a/ofdpa/flows.py b/ofdpa/flows.py index 2241799..12c4ddd 100755 --- a/ofdpa/flows.py +++ b/ofdpa/flows.py
@@ -419,7 +419,7 @@ switch_mac = ':'.join(['%02X' % x for x in intf_src_mac]) for in_port in ports: mac_src='00:00:00:22:22:%02X' % (class_id+in_port) - ip_src='192.168.%02d.1' (class_id+in_port) + ip_src='192.168.%02d.1' % (class_id+in_port) for out_port in ports: if in_port == out_port: continue