mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Syslog trim whitespace
This commit is contained in:
@@ -115,6 +115,7 @@ function process_syslog($entry, $update) {
|
||||
}
|
||||
|
||||
$entry['program'] = strtoupper($entry['program']);
|
||||
$entry = array_map('trim', $entry);
|
||||
|
||||
if ($update) {
|
||||
dbInsert(
|
||||
|
||||
Reference in New Issue
Block a user