mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Revert rev 1.92, AI_ADDRCONFIG is not a legal flag for getaddrinfo
This commit is contained in:
parent
77df33a164
commit
eb25111b9a
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user