mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-01 12:00:53 +00:00
fixed bug #22070 "MIB_OBJECT_WRITE_ONLY not implemented in SNMP"
This commit is contained in:
parent
7a0f814043
commit
e3e3200f95
@ -171,6 +171,10 @@ HISTORY
|
|||||||
|
|
||||||
++ Bugfixes:
|
++ Bugfixes:
|
||||||
|
|
||||||
|
2015-02-13: Simon Goldschmidt
|
||||||
|
* msg_in.c: fixed bug #22070 "MIB_OBJECT_WRITE_ONLY not implemented in SNMP"
|
||||||
|
|
||||||
|
2015-02-12: Simon Goldschmidt
|
||||||
* ip.h, ip4.c, ip6.c: fixed bug #36403 "ip4_input() and ip6_input() always pass
|
* ip.h, ip4.c, ip6.c: fixed bug #36403 "ip4_input() and ip6_input() always pass
|
||||||
inp to higher layers": now the accepting netif is passed up, but the input
|
inp to higher layers": now the accepting netif is passed up, but the input
|
||||||
netif is available through ip_current_input_netif() if required.
|
netif is available through ip_current_input_netif() if required.
|
||||||
|
@ -178,8 +178,7 @@ snmp_msg_get_event(u8_t request_id, struct snmp_msg_pstat *msg_ps)
|
|||||||
|
|
||||||
/* translate answer into a known lifeform */
|
/* translate answer into a known lifeform */
|
||||||
en->get_object_def_a(request_id, np.ident_len, np.ident, &msg_ps->ext_object_def);
|
en->get_object_def_a(request_id, np.ident_len, np.ident, &msg_ps->ext_object_def);
|
||||||
if ((msg_ps->ext_object_def.instance != MIB_OBJECT_NONE) &&
|
if (msg_ps->ext_object_def.instance != MIB_OBJECT_NONE)
|
||||||
(msg_ps->ext_object_def.access & MIB_ACCESS_READ))
|
|
||||||
{
|
{
|
||||||
msg_ps->state = SNMP_MSG_EXTERNAL_GET_VALUE;
|
msg_ps->state = SNMP_MSG_EXTERNAL_GET_VALUE;
|
||||||
en->get_value_q(request_id, &msg_ps->ext_object_def);
|
en->get_value_q(request_id, &msg_ps->ext_object_def);
|
||||||
@ -297,8 +296,7 @@ snmp_msg_get_event(u8_t request_id, struct snmp_msg_pstat *msg_ps)
|
|||||||
|
|
||||||
msg_ps->state = SNMP_MSG_INTERNAL_GET_OBJDEF;
|
msg_ps->state = SNMP_MSG_INTERNAL_GET_OBJDEF;
|
||||||
mn->get_object_def(np.ident_len, np.ident, &object_def);
|
mn->get_object_def(np.ident_len, np.ident, &object_def);
|
||||||
if ((object_def.instance != MIB_OBJECT_NONE) &&
|
if (object_def.instance != MIB_OBJECT_NONE)
|
||||||
(object_def.access & MIB_ACCESS_READ))
|
|
||||||
{
|
{
|
||||||
mn = mn;
|
mn = mn;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user