svn commit: r338277 - head/contrib/tcp_wrappers
Bjoern A. Zeeb
bz at FreeBSD.org
Thu Aug 23 20:44:28 UTC 2018
Author: bz
Date: Thu Aug 23 20:44:26 2018
New Revision: 338277
URL: https://svnweb.freebsd.org/changeset/base/338277
Log:
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
Modified:
head/contrib/tcp_wrappers/diag.c
Modified: head/contrib/tcp_wrappers/diag.c
==============================================================================
--- head/contrib/tcp_wrappers/diag.c Thu Aug 23 20:34:22 2018 (r338276)
+++ head/contrib/tcp_wrappers/diag.c Thu Aug 23 20:44:26 2018 (r338277)
@@ -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);
}
More information about the svn-src-all
mailing list