diff --git a/includes/discovery/current/apc.inc.php b/includes/discovery/current/apc.inc.php index cafce954a5..f8526e3680 100644 --- a/includes/discovery/current/apc.inc.php +++ b/includes/discovery/current/apc.inc.php @@ -74,10 +74,11 @@ if ($device['os'] == "apc") $index = $split_oid[count($split_oid)-1]; - $descr = "Bank ".$index; + $banknum = $index -1; + $descr = "Bank ".$banknum; if ($baseversion == "3") { - if ($index == "3") { $descr = "Bank Total"; } + if ($index == "1") { $descr = "Bank Total"; } } if ($baseversion == "2") { @@ -131,4 +132,4 @@ if ($device['os'] == "apc") unset($oids); } -?> \ No newline at end of file +?>