mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
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:
parent
99d92d732f
commit
0568fefeea
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue