|
@@ -171,7 +171,8 @@ class DocsIfCmts extends \OSS_SNMP\MIB {
|
|
|
|
|
|
public function docsQosServiceFlowDirection($translate=false){
|
|
|
$oid = self::OID_docsQosServiceFlowDirection;
|
|
|
- $states = $this->getSNMP()->realWalk($oid);
|
|
|
+// $states = $this->getSNMP()->realWalk($oid);
|
|
|
+ $states = $this->getSNMP()->walk1d($oid);
|
|
|
$rtr = array();
|
|
|
if( !$translate )
|
|
|
return $states;
|
|
@@ -226,12 +227,12 @@ class DocsIfCmts extends \OSS_SNMP\MIB {
|
|
|
$oid = self::OID_docsQosServiceFlowOctets;
|
|
|
}
|
|
|
$rtr = array();
|
|
|
- if($translate) foreach($this->getSNMP()->realWalk($oid) as $k => $v){
|
|
|
+ if($translate) foreach($this->getSNMP()->walk1d($oid) as $k => $v){
|
|
|
$k_prim = preg_split("|\.|",$k);
|
|
|
$rtr[$k_prim[14].".".$k_prim[15]] = $this->getSNMP()->parseSnmpValue($v);
|
|
|
}
|
|
|
else
|
|
|
- $rtr = $this->getSNMP()->realWalk($oid);
|
|
|
+ $rtr = $this->getSNMP()->walk1d($oid);
|
|
|
return $rtr;
|
|
|
}
|
|
|
|