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

Ben Collins bcollins@debian.org
Fri Nov 10 23:39:00 GMT 2000


On Fri, Nov 10, 2000 at 11:08:52PM -0800, Ulrich Drepper wrote:
> Ben Collins <bcollins@debian.org> writes:
> 
> > Uggh. Anyway to prevent this, or is it merely an extension/feature of
> > getaddrinfo?
> 
> IPv6 addresses are searched if the users tells the function to do this.

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.

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'


More information about the Libc-alpha mailing list