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:59 UTC Return to Bug #51336 | Download this patchThis patch renders other patches obsolete Obsolete patches: Patch Revisions:
Developer: lytboris@gmail.com--- ext/snmp/snmp.c.orig 2009-10-25 23:17:04.000000000 +0300 +++ ext/snmp/snmp.c 2010-03-20 13:54:41.000000000 +0300 @@ -502,7 +502,7 @@ } } } else { - if (st != SNMP_CMD_WALK || response->errstat != SNMP_ERR_NOSUCHNAME) { + if ((st != SNMP_CMD_WALK && st != SNMP_CMD_REALWALK) || 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 11:01:29 2024 UTC |