CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/02/10 18:20:38
Modified files:
usr.bin/ssh : packet.c
Log message:
Some packet error messages show the address of the peer, but might be
generated after the socket to the peer has suffered a TCP reset. In
these cases, getpeername() won't work so cache the address earlier.
spotted in the wild via deraadt@ and tedu@
