ldap tls support

git-svn-id: http://www.observium.org/svn/observer/trunk@2880 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2012-02-27 23:36:19 +00:00
parent 3ea756ae1b
commit ee1517e38b
2 changed files with 10 additions and 2 deletions

View File

@@ -94,9 +94,9 @@ foreach (dbFetchRows("SELECT * FROM `bgpPeers` WHERE `device_id` = ? ORDER BY `b
unset($peerhost);
}
if ($peerhost)
if (is_array($peerhost))
{
$peername = generate_device_link($peerhost);
#$peername = generate_device_link($peerhost);
$peername = generate_device_link($peerhost) ." ". generate_port_link($peerhost);
$peer_url = "device/device=" . $peer['device_id'] . "/tab=routing/proto=bgp/view=updates/";
}