mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 23:59:34 -05:00
Check for IP using != AF_LOCAL instead of = AF_INET
This commit is contained in:
parent
66bad2ad21
commit
f286380c82
1 changed files with 2 additions and 2 deletions
|
|
@ -376,8 +376,8 @@ static Listener * open_listener( const char* url )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef LDAP_PF_LOCAL
|
#ifdef LDAP_PF_LOCAL
|
||||||
/* for IP sockets only */
|
/* for IPv4 and IPv6 sockets only */
|
||||||
if ( l.sl_sa.sa_addr.sa_family == AF_INET ) {
|
if ( l.sl_sa.sa_addr.sa_family != AF_LOCAL ) {
|
||||||
#endif /* LDAP_PF_LOCAL */
|
#endif /* LDAP_PF_LOCAL */
|
||||||
#endif /* HAVE_GETADDRINFO */
|
#endif /* HAVE_GETADDRINFO */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue