summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-10-05 11:19:42 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-10-05 11:19:42 +0000
commit417ece82c5cb68e9191f4e2ab6d635d89be92d7a (patch)
treea53215d442f29f50e16bc6f575a8e5254098d0b0
parent3976ceca622a7cc61bd8854a43a2ded35e0c5055 (diff)
connect(2) can return with EHOSTUNREACH, found with and ok otto
-rw-r--r--lib/libc/sys/connect.24
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/connect.2 b/lib/libc/sys/connect.2
index 56c240a8b12..4e1da08addf 100644
--- a/lib/libc/sys/connect.2
+++ b/lib/libc/sys/connect.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: connect.2,v 1.18 2004/04/15 17:16:33 millert Exp $
+.\" $OpenBSD: connect.2,v 1.19 2004/10/05 11:19:41 henning Exp $
.\" $NetBSD: connect.2,v 1.8 1995/10/12 15:40:48 jtc Exp $
.\"
.\" Copyright (c) 1983, 1993
@@ -100,6 +100,8 @@ A TCP connection with a local broadcast, the all-ones or a
multicast address as the peer was attempted.
.It Bq Er ECONNREFUSED
The attempt to connect was forcefully rejected.
+.It Bq Er EHOSTUNREACH
+The destination address specified an unreachable host.
.It Bq Er EINTR
A connect was interrupted before it succeeded
by the delivery of a signal.