php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch snmpv1-realwalk-end-of-OID-bug for SNMP related Bug #51336Patch version 2010-03-20 10:53 UTC Return to Bug #51336 | Download this patchThis patch is obsolete Obsoleted by patches: Patch Revisions:
Developer: lytboris@gmail.com--- ext/snmp/snmp.c 2009-10-25 23:17:04.000000000 +0300 +++ ext/snmp/snmp.c 2010-03-20 13:33:46.000000000 +0300 @@ -502,7 +502,7 @@ } } } else { - if (st != SNMP_CMD_WALK || response->errstat != SNMP_ERR_NOSUCHNAME) { + if (st < SNMP_CMD_WALK || response->errstat != SNMP_ERR_NOSUCHNAME) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error in packet: %s", snmp_errstring(response->errstat)); if (response->errstat == SNMP_ERR_NOSUCHNAME) { for (count=1, vars = response->variables; vars && count != response->errindex; |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Thu Nov 21 15:01:30 2024 UTC |