diff options
author | Harald Welte <laforge@gnumonks.org> | 2005-11-24 17:04:05 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2005-11-24 17:04:05 +0000 |
commit | 72bd87e13b76818f5c690a9097080123ff698bc2 (patch) | |
tree | 0bda2ab51ec3482c7010dccc2bc629f2fd6a3731 /iptables.c | |
parent | 3a02693b57bf968921aa76109712367af17c1a68 (diff) |
fix compilation of iptables on [old] systems that don't have IPT_F_GOTO
Diffstat (limited to 'iptables.c')
-rw-r--r-- | iptables.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |