Explorar el Código

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

Maximiliano Schvindt hace 10 años
padre
commit
5209737cf8
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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;
     }