aboutsummaryrefslogtreecommitdiff
path: root/contrib/tcp_wrappers
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2018-08-23 20:44:26 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2018-08-23 20:44:26 +0000
commit0568fefeea3645098d84cef3cfcb86c73ac04ff6 (patch)
treec54b423ac1f9f9690f7d89c0760465f9ae28be64 /contrib/tcp_wrappers
parent99d92d732f3bbbcd9bea43298341ab44f7bd4a5f (diff)
downloadsrc-0568fefeea3645098d84cef3cfcb86c73ac04ff6.tar.gz
src-0568fefeea3645098d84cef3cfcb86c73ac04ff6.zip
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
Notes
Notes: svn path=/head/; revision=338277
Diffstat (limited to 'contrib/tcp_wrappers')
-rw-r--r--contrib/tcp_wrappers/diag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tcp_wrappers/diag.c b/contrib/tcp_wrappers/diag.c
index e0bd792c319d..ac3df07a202e 100644
--- a/contrib/tcp_wrappers/diag.c
+++ b/contrib/tcp_wrappers/diag.c
@@ -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);
}