mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
feature #3175: Fix spoofing with non-SG VMs
This commit is contained in:
parent
0fcbadea80
commit
1420166880
@ -59,9 +59,7 @@ module VNMMAD
|
||||
|
||||
# Process the rules
|
||||
@vm.nics.each do |nic|
|
||||
next if nic[:security_groups].nil? \
|
||||
&& nic[:filter_mac_spoofing] != "YES" \
|
||||
&& nic[:filter_ip_spoofing] != "YES"
|
||||
next if nic[:security_groups].nil?
|
||||
|
||||
SGIPTables.nic_pre(@vm, nic)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user