mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
B #-: Wrong ipsec delete (#1293)
Co-authored-by: Anton Todorov <a.todorov@storpool.com> Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
This commit is contained in:
parent
ebcef1dd05
commit
62ddb9046e
@ -638,7 +638,7 @@ module SGIPTables
|
||||
|
||||
# Disable IP-spoofing
|
||||
set = "#{chain}-ip-spoofing"
|
||||
commands.add :ipset, "-q -D #{set} #{nic[:ip]} | true"
|
||||
commands.add :ipset, "-q del -exist #{set} #{nic[:ip]} | true"
|
||||
|
||||
commands.run!
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user