[netfilter-cvslog] r7437 - branches/ulog/ulogd2/filter

pablo at netfilter.org pablo at netfilter.org
Sat Apr 5 17:40:05 CEST 2008


Author: pablo at netfilter.org
Date: 2008-04-05 17:40:05 +0200 (Sat, 05 Apr 2008)
New Revision: 7437

Modified:
   branches/ulog/ulogd2/filter/ulogd_filter_IP2STR.c
Log:
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 at inl.fr>


Modified: branches/ulog/ulogd2/filter/ulogd_filter_IP2STR.c
===================================================================
--- branches/ulog/ulogd2/filter/ulogd_filter_IP2STR.c	2008-04-05 15:39:09 UTC (rev 7436)
+++ branches/ulog/ulogd2/filter/ulogd_filter_IP2STR.c	2008-04-05 15:40:05 UTC (rev 7437)
@@ -174,7 +174,7 @@
 	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:




More information about the netfilter-cvslog mailing list