]> git.sur5r.net Git - openldap/commitdiff
Revert rev 1.92, AI_ADDRCONFIG is not a legal flag for getaddrinfo
authorHoward Chu <hyc@openldap.org>
Sun, 15 Aug 2004 23:15:55 +0000 (23:15 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 15 Aug 2004 23:15:55 +0000 (23:15 +0000)
libraries/libldap/os-ip.c

index 45b1f9500deccb2482e4428218c027c84c062d04..31b1049b925b53bc9db7f5800c92bd84b0c173ec 100644 (file)
@@ -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 );