mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 21:41:04 +01:00
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:
parent
21ecd1e977
commit
3f562cce40
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213981
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user