mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-06 22:44:38 +08: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
|
/* 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. */
|
* a 'struct mib_array_node mib_private' which contains your MIB. */
|
||||||
s32_t internet_ids[2] = { 2, 4 };
|
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 = {
|
const struct mib_array_node internet = {
|
||||||
&noleafs_get_object_def,
|
&noleafs_get_object_def,
|
||||||
&noleafs_get_value,
|
&noleafs_get_value,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user