From 81c5873e9774fa8c7aee64bc1ba4e31027bcf94c Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Mon, 30 Jun 2008 00:28:00 +0200 Subject: [PATCH] Log ssld errors for servers and handshakes. (serverlog) --- src/sslproc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sslproc.c b/src/sslproc.c index e08a1b89..e6ae5aab 100644 --- a/src/sslproc.c +++ b/src/sslproc.c @@ -360,7 +360,10 @@ ssl_process_dead_fd(ssl_ctl_t *ctl, ssl_ctl_buf_t *ctl_buf) if(client_p == NULL) return; if(IsAnyServer(client_p)) + { sendto_realops_snomask(SNO_GENERAL, is_remote_connect(client_p) && !IsServer(client_p) ? L_NETWIDE : L_ALL, "ssld error for %s: %s", client_p->name, reason); + ilog(L_SERVER, "ssld error for %s: %s", log_client_name(client_p, SHOW_IP), reason); + } exit_client(client_p, client_p, &me, reason); }