feature #3175: Fix spoofing with non-SG VMs

This commit is contained in:
Ruben S. Montero committed 2014-12-27 22:21:56 +01:00
1 parent 0fcbadea80
commit 1420166880
1 file changed
+1 -3
+1 -3
View File
@@ -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)