Commit 12d5bbd1 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Revert "use AI_ADDRCONFIG if defined in the environment"

This reverts commit 33945aeb.

Depends on custom glibc from RedHat
parent 7c7f1f8b
......@@ -594,7 +594,8 @@ ldap_connect_to_host(LDAP *ld, Sockbuf *sb,
#if defined( HAVE_GETADDRINFO ) && defined( HAVE_INET_NTOP )
memset( &hints, '\0', sizeof(hints) );
#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;
hints.ai_family = ldap_int_inet4or6;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment