summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/rcmdsh.3
diff options
context:
space:
mode:
authormillert <>2016-05-28 15:48:30 +0000
committermillert <>2016-05-28 15:48:30 +0000
commit0ee591dac773154f745c4175babd6b36f4b787de (patch)
tree2b4edf10077d449f9fe669eca936826a77cfe782 /src/lib/libc/net/rcmdsh.3
parent33fd5a978c614a9e22b8f057cbe55fb2f890fd6d (diff)
downloadopenbsd-0ee591dac773154f745c4175babd6b36f4b787de.tar.gz
openbsd-0ee591dac773154f745c4175babd6b36f4b787de.tar.bz2
openbsd-0ee591dac773154f745c4175babd6b36f4b787de.zip
rcmd(3) and rcmdsh(3) use getaddrinfo(3) not gethostbyname(3).
Diffstat (limited to '')
-rw-r--r--src/lib/libc/net/rcmdsh.38
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/net/rcmdsh.3 b/src/lib/libc/net/rcmdsh.3
index daf23bc3c0..9092d19f81 100644
--- a/src/lib/libc/net/rcmdsh.3
+++ b/src/lib/libc/net/rcmdsh.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: rcmdsh.3,v 1.17 2015/03/23 22:29:32 halex Exp $ 1.\" $OpenBSD: rcmdsh.3,v 1.18 2016/05/28 15:48:30 millert Exp $
2.\" 2.\"
3.\" Copyright (c) 1983, 1991, 1993 3.\" Copyright (c) 1983, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28.\" SUCH DAMAGE. 28.\" SUCH DAMAGE.
29.\" 29.\"
30.Dd $Mdocdate: March 23 2015 $ 30.Dd $Mdocdate: May 28 2016 $
31.Dt RCMDSH 3 31.Dt RCMDSH 3
32.Os 32.Os
33.Sh NAME 33.Sh NAME
@@ -55,10 +55,10 @@ The
55function looks up the host 55function looks up the host
56.Fa *ahost 56.Fa *ahost
57using 57using
58.Xr gethostbyname 3 58.Xr getaddrinfo 3
59and, if the host exists, 59and, if the host exists,
60.Fa *ahost 60.Fa *ahost
61is set to the standard name of the host. 61is set to the canonical name of the host.
62A connection is then established to 62A connection is then established to
63a server residing at the well-known Internet port 63a server residing at the well-known Internet port
64.Li shell/tcp 64.Li shell/tcp