summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2015-02-10 18:42:08 +0000
committerbluhm <bluhm@openbsd.org>2015-02-10 18:42:08 +0000
commitbe7b7db13e763dbdf8214fe6ac28c7f3aaafd114 (patch)
tree2d58c53bcc256b5097caa47c305467f71f29a2fb
parentMake error check consistent in all recvfrom(2) callbacks. (diff)
downloadwireguard-openbsd-be7b7db13e763dbdf8214fe6ac28c7f3aaafd114.tar.xz
wireguard-openbsd-be7b7db13e763dbdf8214fe6ac28c7f3aaafd114.zip
Oops, I accidently reverted the two previous commits in syslog.conf.5.
Bring back revision 1.29.
-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