projects
/
project
/
firewall3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Decouple handle destroying from committing, add fw3_ipt_close() instead
[project/firewall3.git]
/
iptables.c
diff --git
a/iptables.c
b/iptables.c
index
2fc8d36
..
4ae8875
100644
(file)
--- a/
iptables.c
+++ b/
iptables.c
@@
-311,7
+311,11
@@
fw3_ipt_commit(struct fw3_ipt_handle *h)
if (!rv)
fprintf(stderr, "iptc_commit(): %s\n", iptc_strerror(errno));
}
+}
+void
+fw3_ipt_close(struct fw3_ipt_handle *h)
+{
if (h->libv)
{
while (h->libc > 0)