projects
/
oweals
/
firewall3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Send quit comment in fw3_destroy_ipsets() and initialize ipset objects with enabled...
[oweals/firewall3.git]
/
ipsets.c
diff --git
a/ipsets.c
b/ipsets.c
index 637af7e8b76f9356d19db40737da9d07ff26066c..eb37d0a82e6a831462ca19bf4825640b07c2b02a 100644
(file)
--- a/
ipsets.c
+++ b/
ipsets.c
@@
-216,6
+216,8
@@
fw3_alloc_ipset(void)
INIT_LIST_HEAD(&ipset->datatypes);
+ ipset->enabled = true;
+
return ipset;
}
@@
-359,6
+361,8
@@
fw3_destroy_ipsets(struct fw3_state *state)
fw3_pr("flush %s\n", s->name);
fw3_pr("destroy %s\n", s->name);
}
+
+ fw3_pr("quit\n");
}
struct fw3_ipset *