diff options
author | 2016-02-05 13:28:19 +0000 | |
---|---|---|
committer | 2016-02-05 13:28:19 +0000 | |
commit | 32a3db49524afd7f42ddc757cd9e94a4c716a261 (patch) | |
tree | 768b6bc07ca7bcf0547feb5cd77222d30696d376 /lib/libc | |
parent | return if the bpf_if passed to bpf_tap and _bpf_mtap are NULL. (diff) | |
download | wireguard-openbsd-32a3db49524afd7f42ddc757cd9e94a4c716a261.tar.xz wireguard-openbsd-32a3db49524afd7f42ddc757cd9e94a4c716a261.zip |
Only check errno if read() has returned an error. EOF is not an error.
This fixes a problem where the mux master would sporadically fail to
notice that the client had exited.
ok mikeb@ djm@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions