On Wed, Jun 06, 2007 at 08:49:06PM -0300, Davi Arnaut wrote:
> > Why wouldn't that fail?
> 
> Sorry, it should have been:
> 
> getaddrinfo("::1", NULL, {.family=AF_UNSPEC, .hints=0|AI_ADDRCONFIG}) = 0:
>  family=30, proto= 6 inet6: addr=::1, port=0, flowinfo=0
> 
> Last question (sorry for wasting your time), why this one succeeded?

If you don't have a public IPv6 address, per the RFC - it should fail,
it's a resolver bug. 

In the real world, it could be NSCD, or another libc cache :-)

-- 
Colm MacCárthaigh                        Public Key: [EMAIL PROTECTED]

Reply via email to