Grokbase Groups PHP php-bugs May 2012
FAQ
Edit report at https://bugs.php.net/bug.php?id=61981&edit=1

  ID: 61981
  Updated by: lytboris@php.net
  Reported by: gubin dot gm at yandex dot ru
  Summary: php5-snmp 5.4.0-3
-Status: Open
+Status: Assigned
  Type: Bug
  Package: SNMP related
  Operating System: Debian 6.0
  PHP Version: 5.4.3
-Assigned To:
+Assigned To: lytboris
  Block user comment: N
  Private report: N



Previous Comments:
------------------------------------------------------------------------
[2012-05-09 11:10:56] gubin dot gm at yandex dot ru

Description:
------------
Bag in method SNMP::walk.
The parameter $suffix_as_key not working correctly.

Test script:
---------------
<?php
   $session = new SNMP(SNMP::VERSION_2c, "127.0.0.1", "public");
   $ifDescr = $session->walk(".1.3.6.1.2.1.2.2.1.2", TRUE);
   print_r($ifDescr);
?>

Expected result:
----------------
Array
(
     [1001] => Port 1:1
     [1002] => Port 1:2
     [1003] => Port 1:3
...
)

Actual result:
--------------
Array
(
     [1001] => Port 1:1
     [iso.3.6.1.2.1.2.2.1.2.1002] => Port 1:2
     [iso.3.6.1.2.1.2.2.1.2.1003] => Port 1:3
...
)


------------------------------------------------------------------------

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 7 | next ›
Discussion Overview
groupphp-bugs @
categoriesphp
postedMay 9, '12 at 11:11a
activeDec 6, '13 at 11:52a
posts7
users2
websitephp.net

People

Translate

site design / logo © 2019 Grokbase