summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2015-05-15 20:40:27 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2015-05-15 20:40:27 +0000
commit6a3d188a12fce2f9f087996aa13cd70e4fe03e4a (patch)
tree5baa04ed34a0757dd1fe2273d05ba1ddbbe66516 /usr.sbin
parent6586626fc84b92a9956a601160baef00f56a19e8 (diff)
Fix kill'n'yank error: the port is mandatory in relay listen on statements.
Pointed out by Alex Greif OK jmc@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/relayd/relayd.conf.510
1 files changed, 2 insertions, 8 deletions
diff --git a/usr.sbin/relayd/relayd.conf.5 b/usr.sbin/relayd/relayd.conf.5
index 9b1d0072489..a8f554239f3 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.162 2015/05/15 19:26:37 jmc Exp $
+.\" $OpenBSD: relayd.conf.5,v 1.163 2015/05/15 20:40:26 reyk Exp $
.\"
.\" Copyright (c) 2006 - 2015 Reyk Floeter <reyk@openbsd.org>
.\" Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -658,17 +658,11 @@ it will be used as a backup if the lookup failed.
Like the previous directive, but for redirections with rdr-to in
.Xr pf.conf 5 .
.It Xo
-.Ic listen on Ar address
-.Op Ic port Ar port
+.Ic listen on Ar address Ic port Ar port
.Op Ic tls
.Xc
Specify the address and port for the relay to listen on.
The relay will accept incoming connections to the specified address.
-If the
-.Ic port
-option is not specified, the port from the
-.Ic listen on
-directive will be used.
.Pp
If the
.Ic tls