mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Fix IP: typo in peername
This commit is contained in:
parent
983f43785b
commit
f0c1fc37f5
1 changed files with 2 additions and 2 deletions
|
|
@ -625,7 +625,7 @@ slapd_daemon_task(
|
|||
char *dnsname;
|
||||
char *peeraddr;
|
||||
|
||||
char peername[sizeof("IP:255.255.255.255:65336")];
|
||||
char peername[sizeof("IP=255.255.255.255:65336")];
|
||||
|
||||
if ( slap_listeners[l]->sl_sd == AC_SOCKET_INVALID )
|
||||
continue;
|
||||
|
|
@ -685,7 +685,7 @@ slapd_daemon_task(
|
|||
}
|
||||
|
||||
peeraddr = inet_ntoa( from.sin_addr );
|
||||
sprintf( peername, "IP:%s:%d",
|
||||
sprintf( peername, "IP=%s:%d",
|
||||
peeraddr != NULL ? peeraddr : "unknown",
|
||||
(unsigned) ntohs( from.sin_port ) );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue