From: Eric leblond <eric@xxxxxx> Fix a bug in IPv4 output of IP2BIN module. Signed-off-by: Eric leblond <eric@xxxxxx> --- :100644 100644 7790cbd... 92bfa88... M filter/ulogd_filter_IP2BIN.c filter/ulogd_filter_IP2BIN.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/filter/ulogd_filter_IP2BIN.c b/filter/ulogd_filter_IP2BIN.c index 7790cbd..92bfa88 100644 --- a/filter/ulogd_filter_IP2BIN.c +++ b/filter/ulogd_filter_IP2BIN.c @@ -136,6 +136,7 @@ static char *ip2bin(struct ulogd_key* inp, int index, char family) char tmp[IPADDR_LENGTH]; unsigned char *addr8; struct in6_addr *addr; + struct in6_addr ip4_addr; char *buffer; int i, written; @@ -145,6 +146,7 @@ static char *ip2bin(struct ulogd_key* inp, int index, char family) break; case AF_INET: /* Convert IPv4 to IPv4 in IPv6 */ + addr = &ip4_addr; uint32_to_ipv6(GET_VALUE(inp, index).ui32, addr); break; default: -- 1.5.2.5 - To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html