summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2012-11-29 01:01:54 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2012-11-29 01:01:54 +0000
commit36563650e8f70470f880cd5c1a85e86cc4b105b5 (patch)
tree6a7810b8c16d94d884329cb72ea48b0ca086f126 /usr.sbin
parent23bef321d5ab38a2aeadaf44461aaa81260143a6 (diff)
Fix white spaces in relayd. No binary diff.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/relayd/relay.c8
-rw-r--r--usr.sbin/relayd/relayd.conf.58
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/relayd/relay.c b/usr.sbin/relayd/relay.c
index 865c1add138..91a69a83c5f 100644
--- a/usr.sbin/relayd/relay.c
+++ b/usr.sbin/relayd/relay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relay.c,v 1.158 2012/11/27 05:00:28 guenther Exp $ */
+/* $OpenBSD: relay.c,v 1.159 2012/11/29 01:01:53 bluhm Exp $ */
/*
* Copyright (c) 2006 - 2012 Reyk Floeter <reyk@openbsd.org>
@@ -1071,7 +1071,7 @@ relay_accept(int fd, short event, void *arg)
close(s);
if (con != NULL)
free(con);
- /*
+ /*
* the session struct was not completly set up, but still
* counted as an inflight session. account for this.
*/
@@ -1318,7 +1318,7 @@ relay_connect_retry(int fd, short sig, void *arg)
evtimer_del(&con->se_inflightevt);
- /*
+ /*
* XXX we might want to check if the inbound socket is still
* available: client could have closed it while we were waiting?
*/
@@ -1514,7 +1514,7 @@ relay_close(struct rsession *con, const char *msg)
if (con->se_in.s != -1) {
close(con->se_in.s);
if (con->se_out.s == -1) {
- /*
+ /*
* the output was never connected,
* thus this was an inflight session.
*/
diff --git a/usr.sbin/relayd/relayd.conf.5 b/usr.sbin/relayd/relayd.conf.5
index 9e539901eaf..a55db691cde 100644
--- a/usr.sbin/relayd/relayd.conf.5
+++ b/usr.sbin/relayd/relayd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: relayd.conf.5,v 1.131 2012/10/19 16:49:50 reyk Exp $
+.\" $OpenBSD: relayd.conf.5,v 1.132 2012/11/29 01:01:53 bluhm Exp $
.\"
.\" Copyright (c) 2006, 2007 Reyk Floeter <reyk@openbsd.org>
.\" Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 19 2012 $
+.Dd $Mdocdate: November 29 2012 $
.Dt RELAYD.CONF 5
.Os
.Sh NAME
@@ -1258,11 +1258,11 @@ SSH session without delays between keystrokes or displayed output on
the terminal:
.Bd -literal -offset indent
protocol "myssh" {
- tcp { nodelay, socket buffer 65536 }
+ tcp { nodelay, socket buffer 65536 }
}
relay "sshforward" {
- listen on www.example.com port 2222
+ listen on www.example.com port 2222
protocol "myssh"
forward to shell.example.com port 22
}