mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-01 12:00:53 +00:00
Added en->set_value_a() call for closing external transactions.
This commit is contained in:
parent
64dab92c6b
commit
473e567047
@ -586,7 +586,12 @@ snmp_msg_set_event(u8_t request_id, struct snmp_msg_pstat *msg_ps)
|
|||||||
}
|
}
|
||||||
else if (msg_ps->state == SNMP_MSG_EXTERNAL_SET_VALUE)
|
else if (msg_ps->state == SNMP_MSG_EXTERNAL_SET_VALUE)
|
||||||
{
|
{
|
||||||
/** @todo use set_value_a() ?? */
|
struct mib_external_node *en;
|
||||||
|
|
||||||
|
/** set_value_a() @todo: use reply value?? */
|
||||||
|
en = msg_ps->ext_mib_node;
|
||||||
|
en->set_value_a(request_id, &msg_ps->ext_object_def, 0, NULL);
|
||||||
|
|
||||||
msg_ps->state = SNMP_MSG_INTERNAL_SET_VALUE;
|
msg_ps->state = SNMP_MSG_INTERNAL_SET_VALUE;
|
||||||
msg_ps->vb_idx += 1;
|
msg_ps->vb_idx += 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user