Parse loghost in a separate function. Allow [] around hostname,
authorbluhm <bluhm@openbsd.org>
Thu, 21 Aug 2014 00:04:58 +0000 (00:04 +0000)
committerbluhm <bluhm@openbsd.org>
Thu, 21 Aug 2014 00:04:58 +0000 (00:04 +0000)
commitb7fcadfe62b1bbf8ba124f0dd2734c14e15fbb1d
tree56522cb3ce29d3a6bc4c3c1a0038b1ac3104dbeb
parent4afbcfb67cfd32c3faafbc248e13b4e071772bee
Parse loghost in a separate function.  Allow [] around hostname,
needed for IPv6 addresses.  Print full loghost specifier in case
of error or debug.  Make string sizes more precise.
input henning@; input and OK deraadt@
usr.sbin/syslogd/privsep.c
usr.sbin/syslogd/syslogd.c