mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-21 18:40:12 +00:00
SNMP, Missing const qualifier on internet_nodes[] in mib2.c.
This commit is contained in:
parent
78e1b9b7c1
commit
cf15872b8d
@ -738,7 +738,7 @@ const struct mib_array_node mgmt = {
|
||||
/* When using a private MIB, you have to create a file 'private_mib.h' that contains
|
||||
* a 'struct mib_array_node mib_private' which contains your MIB. */
|
||||
s32_t internet_ids[2] = { 2, 4 };
|
||||
struct mib_node* const internet_nodes[2] = { (struct mib_node*)&mgmt, (struct mib_node*)&mib_private };
|
||||
const struct mib_node* const internet_nodes[2] = { (struct mib_node*)&mgmt, (struct mib_node*)&mib_private };
|
||||
const struct mib_array_node internet = {
|
||||
&noleafs_get_object_def,
|
||||
&noleafs_get_value,
|
||||
|
Loading…
x
Reference in New Issue
Block a user