mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-06 22:44:38 +08:00
Added en->get_value_a() call for zero size get_value replies, e.g. for closing external transactions.
This commit is contained in:
parent
c2f9d7dee0
commit
c851a19ab2
@ -220,6 +220,8 @@ snmp_msg_get_event(u8_t request_id, struct snmp_msg_pstat *msg_ps)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
/* get_value_a() called to close external transaction */
|
||||||
|
en->get_value_a(request_id, &msg_ps->ext_object_def, 0, NULL);
|
||||||
/* vb->value_len == 0, empty value (e.g. empty string) */
|
/* vb->value_len == 0, empty value (e.g. empty string) */
|
||||||
vb->value = NULL;
|
vb->value = NULL;
|
||||||
snmp_varbind_tail_add(&msg_ps->outvb, vb);
|
snmp_varbind_tail_add(&msg_ps->outvb, vb);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user