From b5025ffe4f5070a1c077ab865adc70b276a2204e Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org" Date: Sat, 5 Apr 2008 15:40:05 +0000 Subject: 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 --- filter/ulogd_filter_IP2STR.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filter') 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: -- cgit v1.2.3