summaryrefslogtreecommitdiff
path: root/usr.sbin/faithd/rsh.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-02-15 17:37:34 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-02-15 17:37:34 +0000
commitbd74ca448b83994d40bb8b97d267863785e098a6 (patch)
tree76b1d97cd8ff19f539ac406c7090ffc2d9ed2b5c /usr.sbin/faithd/rsh.c
parente67e266e4982c344ac308ec37afc140fdfebe986 (diff)
pull latest KAME faithd. access control is possible by /etc/faithd.conf.
req'ed by todd
Diffstat (limited to 'usr.sbin/faithd/rsh.c')
-rw-r--r--usr.sbin/faithd/rsh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/faithd/rsh.c b/usr.sbin/faithd/rsh.c
index 3603e2d5577..d7cdc1282e2 100644
--- a/usr.sbin/faithd/rsh.c
+++ b/usr.sbin/faithd/rsh.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: rsh.c,v 1.3 2000/05/31 03:09:22 itojun Exp $ */
-/* $KAME: rsh.c,v 1.3 2000/05/31 03:06:07 itojun Exp $ */
+/* $OpenBSD: rsh.c,v 1.4 2001/02/15 17:37:33 itojun Exp $ */
+/* $KAME: rsh.c,v 1.5 2001/02/15 17:28:04 itojun Exp $ */
/*
* Copyright (C) 1997 and 1998 WIDE Project.
@@ -70,7 +70,7 @@ rsh_relay(int s_src, int s_dst)
if (error == -1)
exit_failure("select %d: %s", s_src, ERRSTR);
else if (error == 0)
- exit_failure("connecion timeout");
+ exit_failure("connection timeout");
n = read(s_src, rshbuf, sizeof(rshbuf));
if (rshbuf[0] != 0) {
@@ -181,7 +181,7 @@ rsh_dual_relay(int s_src, int s_dst)
if (error == -1)
exit_failure("select 4 sockets: %s", ERRSTR);
else if (error == 0)
- exit_failure("connecion timeout");
+ exit_failure("connection timeout");
if (half == NO && FD_ISSET(s_src, &readfds)) {
s_rcv = s_src;