]> git.sur5r.net Git - openldap/commitdiff
Fix IP: typo in peername
authorKurt Zeilenga <kurt@openldap.org>
Thu, 22 Jul 1999 20:37:56 +0000 (20:37 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 22 Jul 1999 20:37:56 +0000 (20:37 +0000)
servers/slapd/daemon.c

index 3de1106ecf457f5366613331d58cb13993508422..f17a0df516572d56979b737fcab8ca4f948c891e 100644 (file)
@@ -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 ) );