From: Fabian Keil Date: Wed, 25 May 2016 10:51:10 +0000 (+0000) Subject: listen_loop(): Include the listen-address in the log message when logging new requests X-Git-Tag: v_3_0_25~12 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=094563f88fdadeff7b36885528b9c10ce8acefbb listen_loop(): Include the listen-address in the log message when logging new requests Patch contributed by pursievro. --- diff --git a/jcc.c b/jcc.c index 082bb02e..0659b05c 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.443 2016/05/22 12:43:07 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.444 2016/05/25 10:50:55 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -4054,7 +4054,8 @@ static void listen_loop(void) if (block_acl(NULL,csp)) { log_error(LOG_LEVEL_CONNECT, - "Connection from %s on socket %d dropped due to ACL", csp->ip_addr_str, csp->cfd); + "Connection from %s on %s (socket %d) dropped due to ACL", + csp->ip_addr_str, csp->listen_addr_str, csp->cfd); close_socket(csp->cfd); freez(csp->ip_addr_str); freez(csp->listen_addr_str);