mirror of
https://github.com/php/php-src.git
synced 2025-01-26 13:44:22 +08:00
MFB: Fixed bug #48273 (snmp*_real_walk() returns SNMP errors as values).
This commit is contained in:
parent
2e7fa6df39
commit
5904ee8f8e
@ -666,7 +666,7 @@ retry:
|
||||
return;
|
||||
} else if (st == SNMP_CMD_WALK) {
|
||||
add_next_index_zval(return_value,snmpval); /* Add to returned array */
|
||||
} else if (st == SNMP_CMD_REALWALK) {
|
||||
} else if (st == SNMP_CMD_REALWALK && vars->type != SNMP_ENDOFMIBVIEW && vars->type != SNMP_NOSUCHOBJECT && vars->type != SNMP_NOSUCHINSTANCE) {
|
||||
#ifdef HAVE_NET_SNMP
|
||||
snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user