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:
parent
81b5099bdc
commit
84f01e6fd1
@ -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 != []
|
||||
|
Loading…
x
Reference in New Issue
Block a user