1
0
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:
Ricardo Diaz 2021-06-11 12:17:06 +02:00 committed by GitHub
parent ebcef1dd05
commit 62ddb9046e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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