diff --git a/src/core/snmp/mib2.c b/src/core/snmp/mib2.c index d5919c39..89ab1307 100644 --- a/src/core/snmp/mib2.c +++ b/src/core/snmp/mib2.c @@ -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,