summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/syslogd/syslog.conf.57
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/syslogd/syslog.conf.5 b/usr.sbin/syslogd/syslog.conf.5
index 7743b2a2bda..06dbc530753 100644
--- a/usr.sbin/syslogd/syslog.conf.5
+++ b/usr.sbin/syslogd/syslog.conf.5
@@ -26,7 +26,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)syslog.conf.5 8.1 (Berkeley) 6/9/93
-.\" $OpenBSD: syslog.conf.5,v 1.30 2015/02/10 18:30:20 bluhm Exp $
+.\" $OpenBSD: syslog.conf.5,v 1.31 2015/02/10 18:42:08 bluhm Exp $
.\" $NetBSD: syslog.conf.5,v 1.4 1996/01/02 17:41:46 perry Exp $
.\"
.Dd $Mdocdate: February 10 2015 $
@@ -217,9 +217,12 @@ sign).
Selected messages are forwarded to the
.Xr syslogd 8
program on the named host.
-A port number may be optionally specified using the
+A port number may be specified using the
.Ar host:port
syntax.
+This is optional for UDP and TLS.
+There is no well-known port for syslog over TCP, so in this case it
+is mandatory to specify the port.
IPv6 addresses can be used by surrounding the address portion with
square brackets
.Po