Commit 0743162b by Guba Sándor

netdriver: fixed #4

parent 2bbe91e7
......@@ -227,8 +227,10 @@ def port_create(network):
if network.managed:
# Allow traffic from fource MAC and IP
ban_dhcp_server(network, port_number)
ipv4_filter(network, port_number)
ipv6_filter(network, port_number)
if network.ipv4 != "None":
ipv4_filter(network, port_number)
if network.ipv6 != "None":
ipv6_filter(network, port_number)
arp_filter(network, port_number)
enable_dhcp_client(network, port_number)
else:
......
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