diff -r 1f8351cf00f3 -r 498d9f5fe8a2 Modules/getaddrinfo.c --- a/Modules/getaddrinfo.c Thu Aug 02 23:03:58 2012 +1000 +++ b/Modules/getaddrinfo.c Thu Aug 02 17:23:52 2012 +0200 @@ -430,7 +430,7 @@ break; #ifdef ENABLE_IPV6 case AF_INET6: - pfx = ((struct in6_addr *)pton)->s6_addr8[0]; + pfx = ((struct in6_addr *)pton)->s6_addr[0]; if (pfx == 0 || pfx == 0xfe || pfx == 0xff) pai->ai_flags &= ~AI_CANONNAME; break; diff -r 1f8351cf00f3 -r 498d9f5fe8a2 Modules/getnameinfo.c --- a/Modules/getnameinfo.c Thu Aug 02 23:03:58 2012 +1000 +++ b/Modules/getnameinfo.c Thu Aug 02 17:23:52 2012 +0200 @@ -161,7 +161,7 @@ break; #ifdef ENABLE_IPV6 case AF_INET6: - pfx = ((struct sockaddr_in6 *)sa)->sin6_addr.s6_addr8[0]; + pfx = ((struct sockaddr_in6 *)sa)->sin6_addr.s6_addr[0]; if (pfx == 0 || pfx == 0xfe || pfx == 0xff) flags |= NI_NUMERICHOST; break;