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:
Pawel Jakub Dawidek 2010-10-17 15:47:27 +00:00
parent 21ecd1e977
commit 3f562cce40
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213981

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);