mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
webui: Updated remaining display options where we do not show sysName if hostname is IP (#6585)
* webui: Updated remaining display options where we do not show sysName if hostname is IP * renamed function + simplified
This commit is contained in:
committed by
Tony Murray
parent
1135bb9146
commit
34c35f3627
@@ -264,7 +264,7 @@ function generate_device_link($device, $text = null, $vars = array(), $start = 0
|
||||
$text = $device['hostname'];
|
||||
}
|
||||
|
||||
$text = ip_to_sysname($device, $text);
|
||||
$text = format_hostname($device, $text);
|
||||
|
||||
if (isset($config['os'][$device['os']]['over'])) {
|
||||
$graphs = $config['os'][$device['os']]['over'];
|
||||
|
Reference in New Issue
Block a user