From 2ca09bdfd04489c84c72c1a67fa81dd67c84d5ee Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Wed, 4 Apr 2007 15:57:10 +0000 Subject: [PATCH] Fixing Graphing git-svn-id: http://www.observium.org/svn/observer/trunk@59 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/graphing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/graphing.php b/includes/graphing.php index ae452de52b..91d8071f4f 100644 --- a/includes/graphing.php +++ b/includes/graphing.php @@ -52,7 +52,7 @@ function graph_device_bits ($device, $graph, $from, $to, $width, $height) $hostname = gethostbyid($device); - $query = mysql_query("SELECT `ifIndex` FROM `interfaces` WHERE `host` = '$device'"); + $query = mysql_query("SELECT `ifIndex` FROM `interfaces` WHERE `host` = '$device' AND ifType LIKE '%ethernet%' OR `ifType` LIKE '%erial%'"); while($int = mysql_fetch_row($query)) {