diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2018-11-10 18:40:35 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2018-11-10 18:40:35 +0000 |
commit | 730783be7b83b6cab87f8078148abb8996016173 (patch) | |
tree | 1b65b212a9a9d31cc7b97879f5cc10d5bef698d0 /lib/libc/sys | |
parent | f025d0311096a2c1b0415575d48e624a6ee70522 (diff) |
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 |