Jelajahi Sumber

FD-93 Se cambió el método wald1 por realWalk para los oid que producían error. Líneas 174 y 234.

Maximiliano Schvindt 10 tahun lalu
induk
melakukan
5209737cf8
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      OSS_SNMP/MIBS/DocsIfCmts.php

+ 2 - 2
OSS_SNMP/MIBS/DocsIfCmts.php

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