Logging: add details to failed password attempts to make it fail2ban more easy to...
[citadel.git] / citadel / sysdep.c
index 2b83270c01c7d1e10fb0f5036c9be522aba084a7..422370772fddd851f50735d7dd10f53147f7ded7 100644 (file)
@@ -1271,6 +1271,7 @@ do_select:        force_purge = 0;
                                        con = CreateNewContext();
 
                                        /* Assign our new socket number to it. */
+                                       con->tcp_port = serviceptr->tcp_port;
                                        con->client_socket = ssock;
                                        con->h_command_function = serviceptr->h_command_function;
                                        con->h_async_function = serviceptr->h_async_function;