Added config option to force showing sysName instead of IP

This commit is contained in:
laf
2016-01-17 22:01:09 +00:00
parent e380cc5100
commit 5e37de8b65
3 changed files with 19 additions and 0 deletions
+2
View File
@@ -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'];
}