mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
syslog handling update
git-svn-id: http://www.observium.org/svn/observer/trunk@1507 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -5,7 +5,7 @@ function process_syslog ($entry, $update) {
|
||||
global $config;
|
||||
|
||||
foreach($config['syslog_filter'] as $bi) {
|
||||
if (strstr($entry['msg'], $bi)) {
|
||||
if (strstr($entry['msg'], $bi) !== FALSE) {
|
||||
$delete = 1;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user