mirror of
https://github.com/php/php-src.git
synced 2025-01-22 11:44:09 +08:00
Fixed bug #48273 (snmp*_real_walk() returns SNMP errors as values)
This commit is contained in:
parent
102f76b323
commit
083ed5b3e5
@ -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