1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-28 14:50:08 +03:00

Bug #4727: Openvswitch driver always add mac spoofing rules

This commit is contained in:
Jaime Melis 2016-08-31 16:37:11 +02:00
parent 81b5099bdc
commit 84f01e6fd1

View File

@ -59,7 +59,7 @@ class OpenvSwitchVLAN < VNMMAD::VNMDriver
arp_cache_poisoning if CONF[:arp_cache_poisoning] && @nic[:ip]
# Prevent Mac-spoofing
mac_spoofing
mac_spoofing if nic[:filter_mac_spoofing] =~ /yes/i
# Apply Firewall
configure_fw if FIREWALL_PARAMS & @nic.keys != []