summaryrefslogtreecommitdiffstats
path: root/iptables.c
diff options
context:
space:
mode:
Diffstat (limited to 'iptables.c')
-rw-r--r--iptables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables.c b/iptables.c
index c69eb43d..91e6a9e6 100644
--- a/iptables.c
+++ b/iptables.c
@@ -1490,7 +1490,7 @@ for_each_chain(int (*fn)(const ipt_chainlabel, int, iptc_handle_t *),
for (i = 0; i < chaincount; i++) {
if (!builtinstoo
&& iptc_builtin(chains + i*sizeof(ipt_chainlabel),
- *handle))
+ *handle) == 1)
continue;
ret &= fn(chains + i*sizeof(ipt_chainlabel), verbose, handle);
}