Commit bf0de0cc by Czémán Arnold

Merge branch 'issue_9' into 'master'

Add missing ofctl_command_execute call

See merge request !13
parents 4f7a7551 8d074bb2
...@@ -188,6 +188,8 @@ def ipv6_filter(network, port_number, remove=False): ...@@ -188,6 +188,8 @@ def ipv6_filter(network, port_number, remove=False):
protocol="icmp6", ipv6_src=LINKLOCAL_SUBNET, protocol="icmp6", ipv6_src=LINKLOCAL_SUBNET,
icmp_type=ICMPv6_NA, icmp_type=ICMPv6_NA,
nd_target=network.ipv6) nd_target=network.ipv6)
ofctl_command_execute(["del-flows", network.bridge, flow_cmd])
flow_cmd = build_flow_rule(in_port=port_number, dl_src=network.mac, flow_cmd = build_flow_rule(in_port=port_number, dl_src=network.mac,
protocol="ipv6", ipv6_src=network.ipv6) protocol="ipv6", ipv6_src=network.ipv6)
ofctl_command_execute(["del-flows", network.bridge, flow_cmd]) ofctl_command_execute(["del-flows", network.bridge, flow_cmd])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment