diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2015-02-11 01:20:39 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2015-02-11 01:20:39 +0000 |
commit | c22e01cd33fdcfb6cf0177c833600fe3b3e2234b (patch) | |
tree | 70d89eff9242df72b82425172ce78f77830499f2 /usr.bin/what | |
parent | 33db86b92ed99b74590f15d4cfabae4822eddea9 (diff) |
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@
Diffstat (limited to 'usr.bin/what')
0 files changed, 0 insertions, 0 deletions