netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan Engelhardt <jengelh@medozas.de>
To: kaber@trash.net
Cc: netfilter-devel@vger.kernel.org
Subject: [PATCH 1/8] netfilter: ip_tables: fix compilation when debug is enabled
Date: Tue, 11 May 2010 18:47:24 +0200	[thread overview]
Message-ID: <1273596452-27011-2-git-send-email-jengelh@medozas.de> (raw)
In-Reply-To: <1273596452-27011-1-git-send-email-jengelh@medozas.de>

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
 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 3e6af10..f92818f 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)
 	const struct ipt_entry_target *t;
 
 	if (!ip_checkentry(&e->ip)) {
-		duprintf("ip check failed %p %s.\n", e, name);
+		duprintf("ip check failed %p %s.\n", e, par->match->name);
 		return -EINVAL;
 	}
 
@@ -618,7 +618,7 @@ check_match(struct ipt_entry_match *m, struct xt_mtchk_param *par)
 	ret = xt_check_match(par, m->u.match_size - sizeof(*m),
 	      ip->proto, ip->invflags & IPT_INV_PROTO);
 	if (ret < 0) {
-		duprintf("check failed for `%s'.\n", par.match->name);
+		duprintf("check failed for `%s'.\n", par->match->name);
 		return ret;
 	}
 	return 0;
-- 
1.7.0.5


  reply	other threads:[~2010-05-11 16:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-11 16:47 nf-next: a mixed bag, try#2 Jan Engelhardt
2010-05-11 16:47 ` Jan Engelhardt [this message]
2010-05-11 16:47 ` [PATCH 2/8] netfilter: xtables: fix incorrect return code Jan Engelhardt
2010-05-11 16:47 ` [PATCH 3/8] netfilter: xtables: dissolve do_match function Jan Engelhardt
2010-05-11 16:47 ` [PATCH 4/8] netfilter: xtables: combine struct xt_match_param and xt_target_param Jan Engelhardt
2010-05-11 16:47 ` [PATCH 5/8] netfilter: xtables: substitute temporary defines by final name Jan Engelhardt
2010-05-11 16:47 ` [PATCH 6/8] netfilter: xtables: deconstify struct xt_action_param for matches Jan Engelhardt
2010-05-11 16:47 ` [PATCH 7/8] netfilter: xtables: change hotdrop pointer to direct modification Jan Engelhardt
2010-05-11 16:47 ` [PATCH 8/8] netfilter: xtables: combine built-in extension structs Jan Engelhardt
2010-05-11 17:02 ` nf-next: a mixed bag, try#2 Patrick McHardy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1273596452-27011-2-git-send-email-jengelh@medozas.de \
    --to=jengelh@medozas.de \
    --cc=kaber@trash.net \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).