refactor ssh_dispatch_run_fatal() to use sshpkt_fatal() to better
authordjm <djm@openbsd.org>
Fri, 1 May 2015 07:10:01 +0000 (07:10 +0000)
committerdjm <djm@openbsd.org>
Fri, 1 May 2015 07:10:01 +0000 (07:10 +0000)
commit50aa603e99e6f3266889c0bf4d8d76ee03d1b1e9
treebcbb6e2daf77768d28bb4953580d66b8b934b8fa
parent5ac4513530e2872a2d3e328854bb779e916f5c93
refactor ssh_dispatch_run_fatal() to use sshpkt_fatal() to better
report error conditions. Teach sshpkt_fatal() about ECONNRESET.

Improves error messages on TCP connection resets. bz#2257

ok dtucker@
usr.bin/ssh/dispatch.c
usr.bin/ssh/packet.c