This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/14967] getaddrinfo(NULL) with AI_PASSIVE returns 0.0.0.0 and :: (in this order)
- From: "me at ruff dot mobi" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 25 Feb 2013 18:57:54 +0000
- Subject: [Bug network/14967] getaddrinfo(NULL) with AI_PASSIVE returns 0.0.0.0 and :: (in this order)
- Auto-submitted: auto-generated
- References: <bug-14967-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14967
--- Comment #7 from Ruslan N. Marchenko <me at ruff dot mobi> 2013-02-25 18:57:54 UTC ---
You're wrong, this is exactly fix for described problem. Just open the code of
getaddrinfo implementation and you'll see this.
later today I'll attach normal tested patch as I've cloned trunk git.
getaddrinfo retruns 0.0.0.0 and :: in this order because order is based on
comparing :: with ::1 and 0.0.0.0 with 127.0.0.1
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.