Re: syslogd ipv6 man5

2014-08-21 Thread Jason McIntyre
On Thu, Aug 21, 2014 at 01:39:55AM +0200, Alexander Bluhm wrote:
 On Tue, Aug 19, 2014 at 01:59:42AM +0200, Alexander Bluhm wrote:
  I will split this diff into smaller parts to make review and
  discussion easier.
 
 Document square brackets for IPv6 addresses.  From FreeBSD.
 
 Index: usr.sbin/syslogd/syslog.conf.5
 ===
 RCS file: /cvs/src/usr.sbin/syslogd/syslog.conf.5,v
 retrieving revision 1.24
 diff -u -p -r1.24 syslog.conf.5
 --- usr.sbin/syslogd/syslog.conf.520 Jan 2014 05:07:48 -  1.24
 +++ usr.sbin/syslogd/syslog.conf.520 Aug 2014 23:36:16 -
 @@ -220,6 +220,13 @@ program on the named host.
  A port number may be optionally specified using the
  .Ar host:port
  syntax.
 +IPv6 addresses can be used by surrounding the address portion with
 +square brackets
 +.Po
 +.Ql [\
 +and
 +.Ql ]\
 +.Pc .
  .It
  A comma separated list of users.
  Selected messages are written to those users
 

it'd be simpler to use just 

...
square brackets
.Qq [] .

jmc



Re: syslogd ipv6 man5

2014-08-20 Thread Alexander Bluhm
On Tue, Aug 19, 2014 at 01:59:42AM +0200, Alexander Bluhm wrote:
 I will split this diff into smaller parts to make review and
 discussion easier.

Document square brackets for IPv6 addresses.  From FreeBSD.

Index: usr.sbin/syslogd/syslog.conf.5
===
RCS file: /cvs/src/usr.sbin/syslogd/syslog.conf.5,v
retrieving revision 1.24
diff -u -p -r1.24 syslog.conf.5
--- usr.sbin/syslogd/syslog.conf.5  20 Jan 2014 05:07:48 -  1.24
+++ usr.sbin/syslogd/syslog.conf.5  20 Aug 2014 23:36:16 -
@@ -220,6 +220,13 @@ program on the named host.
 A port number may be optionally specified using the
 .Ar host:port
 syntax.
+IPv6 addresses can be used by surrounding the address portion with
+square brackets
+.Po
+.Ql [\
+and
+.Ql ]\
+.Pc .
 .It
 A comma separated list of users.
 Selected messages are written to those users