diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-05-02 07:55:21 -0400 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-05-02 07:55:34 -0400 |
commit | b5cad0dfd3c80501330215b9a9ae31bcffbd7306 (patch) | |
tree | 6860bbfb403c5b813e271bc449f490fad7c03895 /net/ipv4 | |
parent | 4b2cbd42bef5a22bb681acd607a7c3fbca1eeb3c (diff) |
netfilter: ip_tables: fix compilation when debug is enabled
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/netfilter/ip_tables.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c index 3e6af1036fb..f92818f7667 100644 --- a/net/ipv4/netfilter/ip_tables.c +++ b/net/ipv4/netfilter/ip_tables.c | |||
@@ -591,7 +591,7 @@ check_entry(const struct ipt_entry *e, const char *name) | |||
591 | const struct ipt_entry_target *t; | 591 | const struct ipt_entry_target *t; |
592 | 592 | ||
593 | if (!ip_checkentry(&e->ip)) { | 593 | if (!ip_checkentry(&e->ip)) { |
594 | duprintf("ip check failed %p %s.\n", e, name); | 594 | duprintf("ip check failed %p %s.\n", e, par->match->name); |
595 | return -EINVAL; | 595 | return -EINVAL; |
596 | } | 596 | } |
597 | 597 | ||
@@ -618,7 +618,7 @@ check_match(struct ipt_entry_match *m, struct xt_mtchk_param *par) | |||
618 | ret = xt_check_match(par, m->u.match_size - sizeof(*m), | 618 | ret = xt_check_match(par, m->u.match_size - sizeof(*m), |
619 | ip->proto, ip->invflags & IPT_INV_PROTO); | 619 | ip->proto, ip->invflags & IPT_INV_PROTO); |
620 | if (ret < 0) { | 620 | if (ret < 0) { |
621 | duprintf("check failed for `%s'.\n", par.match->name); | 621 | duprintf("check failed for `%s'.\n", par->match->name); |
622 | return ret; | 622 | return ret; |
623 | } | 623 | } |
624 | return 0; | 624 | return 0; |