On Sun, Aug 31, 2003 at 09:34:46AM -0700, Justin Erenkrantz wrote: > >Nope :) DNS servers don't even understand IPv4 addresses in that > >sense, you can't query a DNS server saying "give me the reverse > >of this IPv4 addresss", your resolver has to turn 209.237.227.195 > >into 195.227.237.209.in-addr.arpa for anything to happen. In the > >case of IPv6 there are two reverse zones it should be asking for, > >so for 2001:770:18:2:260:CFFF:FE20:F45C it should be asking for; > > Okay, now I know why IPv6 will never take off. This is total lameness.
What do mean never take off ? It's taken off, it's here, in production! I could go on at length about this comment .. more seriously though, it might be time daedalus was acessible over IPv6 (imo). Just using 6to4 until a native feed could arrive. > Okay, I took your patch and added some autoconf-fu to try to detect this > case. The patch for sockaddr.c is great, works fine. The autoconf-fu needs some tweaks to work/compile :) ; Index: configure.in =================================================================== RCS file: /home/cvspublic/apr/configure.in,v retrieving revision 1.534 diff -u -r1.534 configure.in --- configure.in 31 Aug 2003 16:28:54 -0000 1.534 +++ configure.in 31 Aug 2003 17:44:13 -0000 @@ -894,6 +894,7 @@ APR_FLAG_HEADERS( alloca.h \ + assert.h \ ByteOrder.h \ conio.h \ crypt.h \ Index: build/apr_network.m4 =================================================================== RCS file: /home/cvspublic/apr/build/apr_network.m4,v retrieving revision 1.20 diff -u -r1.20 apr_network.m4 --- build/apr_network.m4 31 Aug 2003 16:28:55 -0000 1.20 +++ build/apr_network.m4 31 Aug 2003 17:44:16 -0000 @@ -164,6 +164,9 @@ #ifdef HAVE_NETINET_IN_H #include <netinet/in.h> #endif +#ifdef HAVE_ASSERT_H +#include <assert.h> +#endif void main(void) { struct sockaddr_in6 sa = {0}; @@ -180,7 +183,7 @@ addr32 = (unsigned int *)&sa.sin6_addr; addr32[2] = htonl(0x0000FFFF); addr32[3] = ipv4.s_addr; - assert(IN6_IS_ADDR_V4MAPPED(&sin6.sin6_addr)); + assert(IN6_IS_ADDR_V4MAPPED(&sa.sin6_addr)); #ifdef SIN6_LEN sa.sin_len = sizeof(sa); -- Colm MacCárthaigh Public Key: [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.stdlib.net/