mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
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