]> git.ipfire.org Git - thirdparty/iptables.git/commit
iptables: close open file descriptors
authorJan Engelhardt <jengelh@medozas.de>
Wed, 10 Jun 2009 11:52:58 +0000 (13:52 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Wed, 10 Jun 2009 18:29:59 +0000 (20:29 +0200)
commitf1afcc896e7f8be3a6419681fd8cdee1d600a3aa
tree98b0d09be16f3e552251c4f28cb7efc6447c8e51
parenta3726818e07d47136010f09762637a3e597329e3
iptables: close open file descriptors

Just for correctness, close some file descriptors that were opened.
(E.g. ip6tables-save reading from procfs files.)

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
ip6tables-restore.c
ip6tables-save.c
iptables-restore.c
iptables-save.c
iptables-xml.c