ID: 49990 Updated by: [email protected] Reported By: olivier at oxeva dot fr -Status: Verified +Status: Closed Bug Type: SNMP related Operating System: * PHP Version: 5.*, 6 (2009-10-25) New Comment:
This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2009-10-25 20:17:05] [email protected] Automatic comment from SVN on behalf of jani Revision: http://svn.php.net/viewvc/?view=revision&revision=289918 Log: - Fixed bug #49990 (SNMP3 warning message about security level printed twice). ------------------------------------------------------------------------ [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
