[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #25636] SNMPSET value is ignored for integer fields
From: |
Jesus Alvarez |
Subject: |
[lwip-devel] [bug #25636] SNMPSET value is ignored for integer fields |
Date: |
Thu, 19 Feb 2009 04:27:51 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 |
URL:
<http://savannah.nongnu.org/bugs/?25636>
Summary: SNMPSET value is ignored for integer fields
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: jesus_alvarez
Submitted on: Thu 19 Feb 2009 04:27:49 AM GMT
Category: None
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: 1.3.0
_______________________________________________________
Details:
The set_value function used to process SNMPSET requests with integer data
ignores the data value on the request and always uses a NULL value. This only
impacts custom MIBs since all integer fields on the base MIBs are read-only.
The following change appears to correct this.
msg_in.c msg_in.c.old
594,595c594
+ en->set_value_a(request_id, &msg_ps->ext_object_def,
+ msg_ps->vb_ptr->value_len,msg_ps->vb_ptr->value);
- en->set_value_a(request_id, &msg_ps->ext_object_def, 0, NULL);
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?25636>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] [bug #25636] SNMPSET value is ignored for integer fields,
Jesus Alvarez <=