1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 09:42:22 +01:00
This commit is contained in:
Boris Lytochkin
2011-01-31 11:34:12 +00:00
parent 4a2b458835
commit bd810ef9bc
2 changed files with 4 additions and 1 deletions

View File

@@ -689,7 +689,7 @@ retry:
}
}
} 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;