mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
This seems to stop syslog console messages looping. The problem
is that LOG_FAC doesn't do quite what you think it does. PR: 24704
This commit is contained in:
parent
f590526d0a
commit
8bc588fa15
1 changed files with 1 additions and 1 deletions
|
|
@ -710,7 +710,7 @@ printsys(p)
|
|||
pri = 10 * pri + (*p - '0');
|
||||
if (*p == '>')
|
||||
++p;
|
||||
if (LOG_FAC(pri) == LOG_CONSOLE)
|
||||
if ((pri & LOG_FACMASK) == LOG_CONSOLE)
|
||||
flags |= IGN_CONS;
|
||||
} else {
|
||||
/* kernel printf's come out on console */
|
||||
|
|
|
|||
Loading…
Reference in a new issue