aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2009-06-11 19:53:09 -0400
committerPatrick McHardy <kaber@trash.net>2009-06-11 19:53:09 -0400
commit24992eacd8a9f4af286bdaaab627b6802ceb8bce (patch)
treeb2f56ab21b3961c681a6997866a4fc8f0f10a62f
parent334a47f6345560af047f164c356d71c3226965d5 (diff)
netfilter: ip_tables: fix build error
Fix build error introduced by commit bb70dfa5 (netfilter: xtables: consolidate comefrom debug cast access): net/ipv4/netfilter/ip_tables.c: In function 'ipt_do_table': net/ipv4/netfilter/ip_tables.c:421: error: 'comefrom' undeclared (first use in this function) net/ipv4/netfilter/ip_tables.c:421: error: (Each undeclared identifier is reported only once net/ipv4/netfilter/ip_tables.c:421: error: for each function it appears in.) Signed-off-by: Patrick McHardy <kaber@trash.net>
-rw-r--r--net/ipv4/netfilter/ip_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c
index 5bf7c3f185da..fdefae6b5dfc 100644
--- a/net/ipv4/netfilter/ip_tables.c
+++ b/net/ipv4/netfilter/ip_tables.c
@@ -418,7 +418,7 @@ ipt_do_table(struct sk_buff *skb,
418#endif 418#endif
419 verdict = t->u.kernel.target->target(skb, &tgpar); 419 verdict = t->u.kernel.target->target(skb, &tgpar);
420#ifdef CONFIG_NETFILTER_DEBUG 420#ifdef CONFIG_NETFILTER_DEBUG
421 if (comefrom != 0xeeeeeeec && verdict == IPT_CONTINUE) { 421 if (tb_comefrom != 0xeeeeeeec && verdict == IPT_CONTINUE) {
422 printk("Target %s reentered!\n", 422 printk("Target %s reentered!\n",
423 t->u.kernel.target->name); 423 t->u.kernel.target->name);
424 verdict = NF_DROP; 424 verdict = NF_DROP;