Author: pjd Date: Sun Oct 17 15:47:27 2010 New Revision: 213981 URL: http://svn.freebsd.org/changeset/base/213981
Log: Log correct connection when canceling half-open connection. Submitted by: Mikolaj Golub <to.my.troc...@gmail.com> MFC after: 3 days Modified: head/sbin/hastd/hastd.c Modified: head/sbin/hastd/hastd.c ============================================================================== --- head/sbin/hastd/hastd.c Sun Oct 17 15:25:33 2010 (r213980) +++ head/sbin/hastd/hastd.c Sun Oct 17 15:47:27 2010 (r213981) @@ -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); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"