Correct logic for deleting ipsets

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2020-04-29 13:07:04 -07:00
parent c11b647b1b
commit e5e8e6fbc0
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

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