Reduce the log level of tcpd_warn calls from ERR to WARNING.

This matches the name and avoids logging of warnings to console with
default syslog.conf, esp. getting rid of:
  warning: /etc/hosts.allow, line ..: can't verify hostname: \
     getaddrinfo(.., AF_INET) failed
This commit is contained in:
Bjoern A. Zeeb 2018-08-23 20:44:26 +00:00
parent 99d92d732f
commit 0568fefeea
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338277

View file

@ -52,7 +52,7 @@ void VARARGS(tcpd_warn, char *, format)
va_list ap;
VASTART(ap, char *, format);
tcpd_diag(LOG_ERR, "warning", format, ap);
tcpd_diag(LOG_WARNING, "warning", format, ap);
VAEND(ap);
}