summaryrefslogtreecommitdiffstats
path: root/iptables.c
diff options
context:
space:
mode:
authorJonas Berlin <xkr47@outerspace.dyndns.rog>2005-04-15 09:35:24 +0000
committerHarald Welte <laforge@gnumonks.org>2005-04-15 09:35:24 +0000
commit1a39d1e68c03b980b8a78c9d42714d9e95bd23d4 (patch)
treebb562e7f457085c7db64c7465446d7041c568f6d /iptables.c
parent6b5effcaf26b9eaf8e6f63d9ad3570a045fb4f0c (diff)
fix iptables-save/restore of goto (Jonas Berlin)
Diffstat (limited to 'iptables.c')
-rw-r--r--iptables.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/iptables.c b/iptables.c
index 27c5cfac..cfea34fa 100644
--- a/iptables.c
+++ b/iptables.c
@@ -1393,6 +1393,9 @@ print_firewall(const struct ipt_entry *fw,
if (format & FMT_NOTABLE)
fputs(" ", stdout);
+ if(fw->ip.flags & IPT_F_GOTO)
+ printf("[goto] ");
+
IPT_MATCH_ITERATE(fw, print_match, &fw->ip, format & FMT_NUMERIC);
if (target) {