From: Eric Leblond <eric@inl.fr>
To: netfilter-devel@vger.kernel.org
Cc: Eric Leblond <eric@inl.fr>
Subject: [ULOGD PATCH 2/6] Fix display of IPv6 address.
Date: Wed, 26 Mar 2008 23:49:07 +0100 [thread overview]
Message-ID: <12065717511847-git-send-email-eric@inl.fr> (raw)
In-Reply-To: <12065717514081-git-send-email-eric@inl.fr>
An error in the type of an argument in the call to inet_ntop was causing IPv6
address to be transformed in a string not really related to the real Ipv6
address.
Signed-off-by: Eric Leblond <eric@inl.fr>
---
:100644 100644 9f36d60... e4ec06d... M filter/ulogd_filter_IP2STR.c
filter/ulogd_filter_IP2STR.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/filter/ulogd_filter_IP2STR.c b/filter/ulogd_filter_IP2STR.c
index 9f36d60..e4ec06d 100644
--- a/filter/ulogd_filter_IP2STR.c
+++ b/filter/ulogd_filter_IP2STR.c
@@ -174,7 +174,7 @@ static char *ip2str(struct ulogd_key *inp, int index)
switch (convfamily) {
case AF_INET6:
inet_ntop(AF_INET6,
- &GET_VALUE(inp, index).ptr,
+ GET_VALUE(inp, index).ptr,
tmp, sizeof(tmp));
break;
case AF_INET:
--
1.5.2.5
next prev parent reply other threads:[~2008-03-26 22:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-26 22:49 [ULOGD PATCH 0/6] Making NFCT plugin IPv6 compliant Eric Leblond
2008-03-26 22:49 ` [ULOGD PATCH 1/6] Make arp related key optionnal Eric Leblond
2008-04-05 15:31 ` Pablo Neira Ayuso
2008-03-26 22:49 ` Eric Leblond [this message]
2008-04-05 15:31 ` [ULOGD PATCH 2/6] Fix display of IPv6 address Pablo Neira Ayuso
2008-03-26 22:49 ` [ULOGD PATCH 3/6] Fix typo in error message Eric Leblond
2008-04-05 15:32 ` Pablo Neira Ayuso
2008-03-26 22:49 ` [ULOGD PATCH 4/6] Use IP2STR keys in PRINTFLOW module Eric Leblond
2008-04-05 15:35 ` Pablo Neira Ayuso
2008-03-26 22:49 ` [ULOGD PATCH 5/6] Port of NFCT plugin to new libnetfilter_conntrack API Eric Leblond
2008-04-05 15:45 ` Pablo Neira Ayuso
2008-03-26 22:49 ` [ULOGD PATCH 6/6] Fix display of DESTROY event Eric Leblond
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=12065717511847-git-send-email-eric@inl.fr \
--to=eric@inl.fr \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.