mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
feature #3175: Fix spoofing with non-SG VMs
This commit is contained in:
1 parent
0fcbadea80
commit
1420166880
1 file changed
+1
-3
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user