Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
a16943d6
Commit
a16943d6
authored
Jan 11, 2000
by
Kurt Zeilenga
Browse files
Per ITS#419, don't require SLAPD_RLOOKUPS when HAVE_TCPD
parent
34fe70cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/daemon.c
View file @
a16943d6
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment