mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-19 08:03:23 +02:00
Merge pull request #2796 from laf/issue-2091
Added config option to force showing sysName instead of IP
This commit is contained in:
@@ -209,6 +209,8 @@ function generate_device_link($device, $text=null, $vars=array(), $start=0, $end
|
||||
$text = $device['hostname'];
|
||||
}
|
||||
|
||||
$text = ip_to_sysname($device,$text);
|
||||
|
||||
if (isset($config['os'][$device['os']]['over'])) {
|
||||
$graphs = $config['os'][$device['os']]['over'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user