mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix cef showing up in device/routing
git-svn-id: http://www.observium.org/svn/observer/trunk@2109 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -6,7 +6,7 @@ $datas[] = 'overview';
|
|||||||
$bgp_count = mysql_result(mysql_query("select count(*) from bgpPeers WHERE device_id = '" . $device['device_id'] . "'"), 0);
|
$bgp_count = mysql_result(mysql_query("select count(*) from bgpPeers WHERE device_id = '" . $device['device_id'] . "'"), 0);
|
||||||
if ($bgp_count) { $datas[] = 'bgp'; }
|
if ($bgp_count) { $datas[] = 'bgp'; }
|
||||||
|
|
||||||
$bgp_count = mysql_result(mysql_query("select count(*) from cef_switching WHERE device_id = '" . $device['device_id'] . "'"), 0);
|
$cef_count = mysql_result(mysql_query("select count(*) from cef_switching WHERE device_id = '" . $device['device_id'] . "'"), 0);
|
||||||
if ($cef_count) { $datas[] = 'cef'; }
|
if ($cef_count) { $datas[] = 'cef'; }
|
||||||
|
|
||||||
$type_text['overview'] = "Overview";
|
$type_text['overview'] = "Overview";
|
||||||
|
Reference in New Issue
Block a user