From eb25111b9a72a2840867225dc9d8df167274ed1a Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 15 Aug 2004 23:15:55 +0000 Subject: [PATCH] Revert rev 1.92, AI_ADDRCONFIG is not a legal flag for getaddrinfo --- libraries/libldap/os-ip.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libraries/libldap/os-ip.c b/libraries/libldap/os-ip.c index 45b1f9500d..31b1049b92 100644 --- a/libraries/libldap/os-ip.c +++ b/libraries/libldap/os-ip.c @@ -393,9 +393,6 @@ ldap_connect_to_host(LDAP *ld, Sockbuf *sb, #if defined( HAVE_GETADDRINFO ) && defined( HAVE_INET_NTOP ) memset( &hints, '\0', sizeof(hints) ); -#ifdef AI_ADDRCONFIG - hints.ai_flags = AI_ADDRCONFIG; -#endif hints.ai_family = ldap_int_inet4or6; hints.ai_socktype = socktype; snprintf(serv, sizeof serv, "%d", port ); -- 2.39.5