getaddrinfo() unable to resolve IPv6 addresses

Hajimu UMEMOTO ume at freebsd.org
Mon Apr 6 19:48:43 PDT 2009


Hi,

>>>>> On Tue, 07 Apr 2009 05:07:57 +0530
>>>>> Ashish SHUKLA <wahjava.ml at gmail.com> said:

आशीष> I'm running FreeBSD 8.0-CURRENT and is having problems with the libc's
आशीष> getaddrinfo() function. It seems it is not able to resolve addresses for
आशीष> SOCK_RAW socket type and ICMPv6 protocol. 

आशीष> #v+
आशीष> abbe [~] monte-cristo% uname -a
आशीष> FreeBSD monte-cristo.france 8.0-CURRENT FreeBSD 8.0-CURRENT #4: Thu Mar 26 03:18:32 IST 2009     root at monte-cristo.france:/usr/obj/usr/src/sys/GENERIC  amd64
आशीष> abbe [~] monte-cristo% ping6 -n ipv6.google.com
आशीष> ping6: Invalid value for hints
आशीष> abbe [~] monte-cristo% telnet ipv6.google.com 80
आशीष> Trying 2001:4860:c003::68...
आशीष> Connected to ipv6.l.google.com.
आशीष> Escape character is '^]'.
आशीष> #v-

आशीष> Should I file a PR ?

No, I believe it was already fixed.  Please, re-cvsup and try it.

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


More information about the freebsd-net mailing list