mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
no link if device is unknown on map, and add a few more extreme device types
git-svn-id: http://www.observium.org/svn/observer/trunk@2148 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -91,7 +91,7 @@ if (isset($_GET['format']) && preg_match("/^[a-z]*$/", $_GET['format']))
|
||||
$dst = mysql_result(mysql_query("SELECT `hostname` FROM `devices` AS D, `ports` AS I WHERE I.interface_id = '$remote_interface_id' AND D.device_id = I.device_id"),0);
|
||||
$dst_host = mysql_result(mysql_query("SELECT D.device_id FROM `devices` AS D, `ports` AS I WHERE I.interface_id = '$remote_interface_id' AND D.device_id = I.device_id"),0);
|
||||
} else {
|
||||
#$dst_host = $link['remote_hostname'];
|
||||
unset($dst_host);
|
||||
$dst = $link['remote_hostname'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user