diff options
author | 2018-11-10 18:40:34 +0000 | |
---|---|---|
committer | 2018-11-10 18:40:34 +0000 | |
commit | 097c9a817ed3c922715a57712d17587de29d5136 (patch) | |
tree | 2ed9e889e30a3806fd91aaba1ae6c513beff9b15 /lib/libc/sys | |
parent | Eliminate single use variables 'tickstop' that confuse ticking and (diff) | |
download | wireguard-openbsd-097c9a817ed3c922715a57712d17587de29d5136.tar.xz wireguard-openbsd-097c9a817ed3c922715a57712d17587de29d5136.zip |
Do not translate the EACCES error from pf(4) to EHOSTUNREACH anymore.
It also translated a documented send(2) EACCES case erroneously.
This was too much magic and always prone to errors.
from Jan Klemkow; man page jmc@; OK claudio@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/send.2 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libc/sys/send.2 b/lib/libc/sys/send.2 index 38b78fce075..1e83e9f0b83 100644 --- a/lib/libc/sys/send.2 +++ b/lib/libc/sys/send.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: send.2,v 1.32 2017/10/05 12:30:16 bluhm Exp $ +.\" $OpenBSD: send.2,v 1.33 2018/11/10 18:40:34 bluhm Exp $ .\" $NetBSD: send.2,v 1.6 1996/01/15 01:17:18 thorpej Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)send.2 8.2 (Berkeley) 2/21/94 .\" -.Dd $Mdocdate: October 5 2017 $ +.Dd $Mdocdate: November 10 2018 $ .Dt SEND 2 .Os .Sh NAME @@ -162,10 +162,12 @@ The output queue for a network interface was full. This generally indicates that the interface has stopped sending, but may be caused by transient congestion. .It Bq Er EACCES -The +The connection was blocked by +.Xr pf 4 , +or .Dv SO_BROADCAST -option is not set on the socket, and a broadcast address -was given as the destination. +is not set on the socket +and a broadcast address was given as the destination. .It Bq Er EHOSTUNREACH The destination address specified an unreachable host. .It Bq Er EINVAL |