most buggy function in glibc 8)

Arkadiusz Miskiewicz misiek@misiek.eu.org
Wed Jan 12 09:58:00 GMT 2000


On Tue, 11 Jan 2000, Philip Blundell wrote:

> >> >now with nscd running:
> >> Please try without nscd.
> >With nscd works - without nscd doesn't work.
> 
> If by `works' you mean "automatically maps IPv4 addresses to IPv6 ones", you 
> are mistaken. 
works == returns two addrinfo structs. One with AF_INET6 family (ipv4 mapped
to ipv6) and second AF_INET family with native ipv4 addr.

doesn't work == returns one struct with AF_INET but with badly filled
sin_addr ;(

> I think that this behaviour is a bug in nscd; the resolver 
> should not perform this translation automatically.
yes - it shouldn't (but IMHO there should be posibility to turn such
feature on).

-- 
Arkadiusz Miśkiewicz        http://www.misiek.eu.org/
PLD/Linux [IPv6 enabled]       http://www.pld.org.pl/


More information about the Libc-alpha mailing list