From 30c7c06aca35c9dd03c63be263f0ae5187460e8f Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 24 Feb 2009 01:21:16 +0000 Subject: 2009-02-24 Samuel Thibault * linux-src/net/ipv6/addrconf.c (ipv6_addr_type): Use __in6_u.__u6_addr32 member instead of in6_u.u6_addr32. * linux-src/net/ipv6/icmpv6.c (icmpv6_rcv): Use __in6_u.__u6_addr16 member instead of in6_u.u6_addr16. --- pfinet/linux-src/net/ipv6/addrconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pfinet/linux-src/net/ipv6/addrconf.c') diff --git a/pfinet/linux-src/net/ipv6/addrconf.c b/pfinet/linux-src/net/ipv6/addrconf.c index e72c382c..e3ca6d72 100644 --- a/pfinet/linux-src/net/ipv6/addrconf.c +++ b/pfinet/linux-src/net/ipv6/addrconf.c @@ -5,7 +5,7 @@ * Authors: * Pedro Roque * - * $Id: addrconf.c,v 1.3 2007/10/14 02:26:10 stesie Exp $ + * $Id: addrconf.c,v 1.4 2009/02/24 01:21:14 sthibaul Exp $ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -192,7 +192,7 @@ int ipv6_addr_type(struct in6_addr *addr) if ((addr->s6_addr32[0] | addr->s6_addr32[1]) == 0) { if (addr->s6_addr32[2] == 0) { - if (addr->in6_u.u6_addr32[3] == 0) + if (addr->__in6_u.__u6_addr32[3] == 0) return IPV6_ADDR_ANY; if (addr->s6_addr32[3] == __constant_htonl(0x00000001)) -- cgit v1.2.3