This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/7079] when use getnameinfo() with IPv6 unspecified address,[EAI_NONAME] error should be returned
- From: "drepper at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 9 Dec 2008 22:52:26 -0000
- Subject: [Bug libc/7079] when use getnameinfo() with IPv6 unspecified address,[EAI_NONAME] error should be returned
- References: <20081208023411.7079.yanghy@cn.fujitsu.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drepper at redhat dot com 2008-12-09 22:52 -------
RFC 3493 is wrong or imprecise. It makes no sense to prevent printing the value
at all. POSIX 2008 says the unspecified address is handled like an address
where the node name cannot be located. This means if NI_NAMEREQD is not given,
it is OK to return the string "::". That's what glibc does after a patch for
bug 7080.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sourceware.org/bugzilla/show_bug.cgi?id=7079
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.