Log correct connection when canceling half-open connection.

Submitted by:	Mikolaj Golub <to.my.trociny@gmail.com>
MFC after:	3 days
This commit is contained in:
pjd 2010-10-17 15:47:27 +00:00
parent c8ed8cb6af
commit 4212acad62

View File

@ -527,7 +527,8 @@ listen_accept(void)
} else if (res->hr_remotein != NULL) {
char oaddr[256];
proto_remote_address(conn, oaddr, sizeof(oaddr));
proto_remote_address(res->hr_remotein, oaddr,
sizeof(oaddr));
pjdlog_debug(1,
"Canceling half-open connection from %s on connection from %s.",
oaddr, raddr);