Revert rev 1.92, AI_ADDRCONFIG is not a legal flag for getaddrinfo

This commit is contained in:
Howard Chu 2004-08-15 23:15:55 +00:00
parent 77df33a164
commit eb25111b9a

View 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 );