mirror of
https://github.com/librenms/librenms.git
synced 2024-09-23 11:29:23 +00:00
Merge pull request #1734 from tuxis-ie/ipv6-syslog
Rewrite sender-ip if ::ffff: is prepended because the syslogserver us…
This commit is contained in:
commit
2c210b9b22
@ -46,6 +46,7 @@ function process_syslog($entry, $update) {
|
||||
}
|
||||
}
|
||||
|
||||
$entry['host'] = preg_replace("/^::ffff:/", "", $entry['host']);
|
||||
$entry['device_id'] = get_cache($entry['host'], 'device_id');
|
||||
if ($entry['device_id']) {
|
||||
$os = get_cache($entry['host'], 'os');
|
||||
|
Loading…
Reference in New Issue
Block a user