From 4d55d5405cfbed698756346a4d3038b984939e48 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Wed, 20 Apr 2011 16:37:13 +0000 Subject: [PATCH] fix cef showing up in device/routing git-svn-id: http://www.observium.org/svn/observer/trunk@2109 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/device/routing.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/pages/device/routing.inc.php b/html/pages/device/routing.inc.php index 8409a09332..4af353351c 100644 --- a/html/pages/device/routing.inc.php +++ b/html/pages/device/routing.inc.php @@ -6,7 +6,7 @@ $datas[] = 'overview'; $bgp_count = mysql_result(mysql_query("select count(*) from bgpPeers WHERE device_id = '" . $device['device_id'] . "'"), 0); 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'; } $type_text['overview'] = "Overview";