/[smeserver]/rpms/openldap/sme9/openldap-dns-ipv6-queries.patch
ViewVC logotype

Contents of /rpms/openldap/sme9/openldap-dns-ipv6-queries.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Nov 11 00:46:15 2014 UTC (10 years ago) by vip-ire
Branch: MAIN
CVS Tags: openldap-2_4_39-8_el6_sme, HEAD
Import openldap

1 fix: do not send IPv6 DNS queries when IPv6 is disabled on the host
2
3 Author: Jan Vcelak <jvcelak@redhat.com>
4 Resolves: #835012
5 Upstream ITS: #7326
6
7 diff --git a/libraries/libldap/os-ip.c b/libraries/libldap/os-ip.c
8 index 2864256..c3e0876 100644
9 --- a/libraries/libldap/os-ip.c
10 +++ b/libraries/libldap/os-ip.c
11 @@ -584,8 +584,7 @@ ldap_connect_to_host(LDAP *ld, Sockbuf *sb,
12
13 #if defined( HAVE_GETADDRINFO ) && defined( HAVE_INET_NTOP )
14 memset( &hints, '\0', sizeof(hints) );
15 -#ifdef USE_AI_ADDRCONFIG /* FIXME: configure test needed */
16 - /* Use AI_ADDRCONFIG only on systems where its known to be needed. */
17 +#ifdef AI_ADDRCONFIG
18 hints.ai_flags = AI_ADDRCONFIG;
19 #endif
20 hints.ai_family = ldap_int_inet4or6;
21 --
22 1.7.11.4
23

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed