Commit 0743162b by Guba Sándor

netdriver: fixed #4

parent 2bbe91e7
......@@ -227,7 +227,9 @@ def port_create(network):
if network.managed:
# Allow traffic from fource MAC and IP
ban_dhcp_server(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)
......
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