1
0
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:
Ruben S. Montero 2014-12-27 22:21:56 +01:00
parent 0fcbadea80
commit 1420166880

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)