diff options
author | Harald WeltePablo Neira <laforge@gnumonks.orgpablo@eurodev.net> | 2005-04-15 09:35:50 +0000 |
---|---|---|
committer | Harald WelteHarald Welte <laforge@gnumonks.orglaforge@gnumonks.org> | 2005-04-15 09:35:50 +0000 |
commit | e267792b4f6d6c9e0530d9d158263e19444ea00f (patch) | |
tree | 590cd84c128a3a2bb3425b2143c954207b6984eb | |
parent | 1a39d1e68c03b980b8a78c9d42714d9e95bd23d4 (diff) |
poll goto specific changes out of trunk
-rw-r--r-- | iptables-save.c | 2 | ||||
-rw-r--r-- | iptables.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/iptables-save.c b/iptables-save.c index 4f6f156d..6c7267e2 100644 --- a/iptables-save.c +++ b/iptables-save.c @@ -197,7 +197,7 @@ static void print_rule(const struct ipt_entry *e, /* Print target name */ target_name = iptc_get_target(e, h); if (target_name && (*target_name != '\0')) - printf("-%c %s ", e->ip.flags & IPT_F_GOTO ? 'g' : 'j', target_name); + printf("-j %s ", target_name); /* Print targinfo part */ t = ipt_get_target((struct ipt_entry *)e); @@ -1393,9 +1393,6 @@ 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) { |