mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Revert "use AI_ADDRCONFIG if defined in the environment"
This reverts commit ebf0ef5cb1
.
Depends on custom glibc from RedHat
This commit is contained in:
parent
92b03e82e0
commit
4ccd139355
@ -581,7 +581,8 @@ ldap_connect_to_host(LDAP *ld, Sockbuf *sb,
|
||||
|
||||
#if defined( HAVE_GETADDRINFO ) && defined( HAVE_INET_NTOP )
|
||||
memset( &hints, '\0', sizeof(hints) );
|
||||
#ifdef AI_ADDRCONFIG
|
||||
#ifdef USE_AI_ADDRCONFIG /* FIXME: configure test needed */
|
||||
/* Use AI_ADDRCONFIG only on systems where its known to be needed. */
|
||||
hints.ai_flags = AI_ADDRCONFIG;
|
||||
#endif
|
||||
hints.ai_family = ldap_int_inet4or6;
|
||||
|
Loading…
Reference in New Issue
Block a user