ID:               49990
 Updated by:       [email protected]
 Reported By:      olivier at oxeva dot fr
-Status:           Open
+Status:           Verified
 Bug Type:         SNMP related
-Operating System: Linux
+Operating System: *
-PHP Version:      5.3SVN-2009-10-25 (snap)
+PHP Version:      5.*, 6 (2009-10-25)


Previous Comments:
------------------------------------------------------------------------

[2009-10-25 11:47:58] olivier at oxeva dot fr

Description:
------------
Warning message when using (incorrectly) snmp3_get is printed twice.
Same bug appears with all snmp3_* functions.

(You don't need a working SNMP server to test this bug).


Reproduce code:
---------------
<?php

// You don't need a working SNMP server to test this bug
snmp3_get('127.0.0.1', 'public', 'a', 'b', 'c', 'd', 'e',
'.1.3.6.1.2.1.1.1.0');


Expected result:
----------------
Warning: snmp3_get(): Invalid security level: a in %s on line 4


Actual result:
--------------
Warning: snmp3_get(): Invalid security level: a in %s on line 4
Warning: snmp3_get(): Invalid security level: a in %s on line 4



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


-- 
Edit this bug report at http://bugs.php.net/?id=49990&edit=1

Reply via email to