Commit 33945aeb authored by Jan Vcelak's avatar Jan Vcelak Committed by Quanah Gibson-Mount
Browse files

use AI_ADDRCONFIG if defined in the environment

parent bfe2de8f
......@@ -594,8 +594,7 @@ 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