diff options
author | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org> | 2005-04-15 09:35:24 +0000 |
---|---|---|
committer | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org> | 2005-04-15 09:35:24 +0000 |
commit | e7d31fc6ad8c232174e8bd0346405784ef6c801a (patch) | |
tree | bb562e7f457085c7db64c7465446d7041c568f6d /iptables.c | |
parent | e17bcbb55c901fa3d696500090ab2dd358cbb106 (diff) |
fix iptables-save/restore of goto (Jonas Berlin)
Diffstat (limited to 'iptables.c')
-rw-r--r-- | iptables.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) { |