summaryrefslogtreecommitdiffstats
path: root/iptables.c
diff options
context:
space:
mode:
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-11-24 17:04:05 +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-11-24 17:04:05 +0000
commited4ed19b98bc90b23635fd1aa62b9b86e8fc84bc (patch)
tree0bda2ab51ec3482c7010dccc2bc629f2fd6a3731 /iptables.c
parentdef71f9f3d02dbccb0fa7a9bc838fa47ea0792fc (diff)
fix compilation of iptables on [old] systems that don't have IPT_F_GOTO
Diffstat (limited to 'iptables.c')
-rw-r--r--iptables.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/iptables.c b/iptables.c
index cc8d423..1ea8063 100644
--- a/iptables.c
+++ b/iptables.c
@@ -1415,8 +1415,10 @@ print_firewall(const struct ipt_entry *fw,
if (format & FMT_NOTABLE)
fputs(" ", stdout);
+#ifdef IPT_F_GOTO
if(fw->ip.flags & IPT_F_GOTO)
printf("[goto] ");
+#endif
IPT_MATCH_ITERATE(fw, print_match, &fw->ip, format & FMT_NUMERIC);