This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]