mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-07 16:24:01 +01:00
Correct logic for deleting ipsets
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
c11b647b1b
commit
e5e8e6fbc0
@ -9084,7 +9084,7 @@ sub create_load_ipsets() {
|
||||
#
|
||||
emit( '' ,
|
||||
' if [ -f ${VARDIR}/ipsets.save ]; then' ,
|
||||
' while read verb set; do' ,
|
||||
' while read verb set rest; do' ,
|
||||
' if [ $verb = create ]; then' ,
|
||||
' $IPSET flush $set' ,
|
||||
' $IPSET destroy $set' ,
|
||||
|
Loading…
Reference in New Issue
Block a user