summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authornaddy <naddy@openbsd.org>2016-02-05 13:28:19 +0000
committernaddy <naddy@openbsd.org>2016-02-05 13:28:19 +0000
commit32a3db49524afd7f42ddc757cd9e94a4c716a261 (patch)
tree768b6bc07ca7bcf0547feb5cd77222d30696d376 /lib/libc
parentreturn if the bpf_if passed to bpf_tap and _bpf_mtap are NULL. (diff)
downloadwireguard-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