git-svn-id: http://www.observium.org/svn/observer/trunk@2660 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-10-07 13:42:02 +00:00
parent 9f6408c72c
commit 870cb75038
3 changed files with 9 additions and 7 deletions

View File

@@ -109,7 +109,7 @@ foreach (dbFetchRows("SELECT * FROM `ospf_instances` WHERE `device_id` = ?", arr
$host = @dbFetchRow("SELECT * FROM ipv4_addresses AS A, ports AS I, devices AS D WHERE A.ipv4_address = ?
AND I.interface_id = A.interface_id AND D.device_id = I.device_id", array($nbr['ospfNbrRtrId']));
if (is_array($host)) { $rtr_id = generate_device_link($host, $nbr['ospfNbrRtrId']); } else { $rtr_id = "unknown"; }
if (is_array($host)) { $rtr_id = generate_device_link($host); } else { $rtr_id = "unknown"; }
echo('<tr bgcolor="'.$nbr_bg.'">');
echo(' <td width=5></td>');