From: Kurt Zeilenga Date: Tue, 11 Jan 2000 01:12:08 +0000 (+0000) Subject: Per ITS#419, don't require SLAPD_RLOOKUPS when HAVE_TCPD X-Git-Tag: UCDATA_2_4~37 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a16943d64506424e67513e850ea00962fd225011;p=openldap Per ITS#419, don't require SLAPD_RLOOKUPS when HAVE_TCPD --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 9a55fc277b..7bd2b45b90 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -589,7 +589,7 @@ slapd_daemon_task( #else struct sockaddr_in from; #endif /* LDAP_PF_LOCAL */ -#if defined(SLAPD_RLOOKUPS) || defined(HAVE_TCPD) +#if defined(SLAPD_RLOOKUPS) struct hostent *hp; #endif struct timeval zero; @@ -793,7 +793,7 @@ slapd_daemon_task( peeraddr != NULL ? peeraddr : "unknown", (unsigned) ntohs( from.sin_port ) ); -#if defined(SLAPD_RLOOKUPS) || defined(HAVE_TCPD) +#if defined(SLAPD_RLOOKUPS) hp = gethostbyaddr( (char *) &(from.sin_addr), sizeof(from.sin_addr), AF_INET );