X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fconnection.c;h=e34703cb384243b8e4bfc6b04e4069881e6118cf;hb=5b2bfec3b4fa45dcfaed7780c7fdd42c4f69e75e;hp=923d8f0b7bfd9662a63fd8ce67347ce0599cf4b0;hpb=0fd1bf30b8f6d2b7ef0bef287044b6fb8907fb4f;p=openldap diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 923d8f0b7b..e34703cb38 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -574,6 +574,11 @@ Connection * connection_init( backend_connection_init(c); ldap_pvt_thread_mutex_unlock( &c->c_mutex ); + if ( !(flags & CONN_IS_UDP )) + Statslog( LDAP_DEBUG_STATS, + "conn=%ld fd=%ld ACCEPT from %s (%s)\n", + id, (long) s, peername, listener->sl_name.bv_val, 0 ); + return c; }