Fixing Graphing

git-svn-id: http://www.observium.org/svn/observer/trunk@59 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2007-04-04 15:57:10 +00:00
parent 44d34bbfdd
commit 2ca09bdfd0

View File

@@ -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)) {