[bug] nss resolver code doesn't stop at files lookup

Philip Blundell philb@gnu.org
Sat Nov 11 02:43:00 GMT 2000


>But if hint is NULL, or hint.af_family == PF_UNSPEC, should getaddrinfo()
>fail because it had trouble finding an ipv6 addr? That makes it mandatory
>to have ipv6 support, just to use that function.

No.  It should go looking for IPv6 addresses, but it isn't entitled to fail 
if they are unavailable.

Do you have a test case that shows the bad behaviour?

p.




More information about the Libc-alpha mailing list