destroy ipsets on explicit stop and flush, but not on restart
[project/firewall3.git] / ipsets.c
index 6d7ff78..ca0bd29 100644 (file)
--- a/ipsets.c
+++ b/ipsets.c
@@ -382,6 +382,8 @@ fw3_destroy_ipsets(struct fw3_state *state)
        }
 
        fw3_pr("quit\n");
        }
 
        fw3_pr("quit\n");
+
+       fclose(sf);
 }
 
 void
 }
 
 void