[Bug network/15272] getaddrinfo() returns EAI_SYSTEM with AF_UNSPEC and SOCK_STREAM on ARM
dan at coneharvesters dot com
sourceware-bugzilla@sourceware.org
Sat Jan 11 20:50:00 GMT 2014
https://sourceware.org/bugzilla/show_bug.cgi?id=15272
--- Comment #13 from Dan Fandrich <dan at coneharvesters dot com> ---
Sorry, I just noticed that second patch has some cruft from debugging. This is
all that's actually needed as the workaround:
--- neon-0.29.6/src/ne_socket.c.orig 2014-01-04 14:42:09.665502390 +0000
+++ neon-0.29.6/src/ne_socket.c 2014-01-05 00:56:28.287272839 +0000
@@ -925,8 +925,8 @@
{
#ifdef USE_GAI_ADDRCONFIG /* added in the RFC3493 API */
hints.ai_flags = AI_ADDRCONFIG;
- hints.ai_family = AF_UNSPEC;
+ hints.ai_family = AF_INET; //AF_UNSPEC;
addr->errnum = getaddrinfo(hostname, NULL, &hints, &addr->result);
#else
hints.ai_family = ipv6_disabled ? AF_INET : AF_UNSPEC;
addr->errnum = getaddrinfo(hostname, NULL, &hints, &addr->result);
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list