From e7d31fc6ad8c232174e8bd0346405784ef6c801a Mon Sep 17 00:00:00 2001 From: "/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org" Date: Fri, 15 Apr 2005 09:35:24 +0000 Subject: fix iptables-save/restore of goto (Jonas Berlin) --- iptables.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'iptables.c') diff --git a/iptables.c b/iptables.c index 27c5cfa..cfea34f 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) { -- cgit v1.2.3