Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
5209737cf8
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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;
     }