Change names of 2 global variables again, as the previous names did not have lwip-style...

This commit is contained in:
goldsimon 2007-04-03 16:33:14 +00:00
parent 26e88dc2c1
commit 11a4f5538b

View File

@ -486,7 +486,7 @@ struct mib_node* const ip_nodes[23] = {
(struct mib_node* const)&iprtetable, (struct mib_node* const)&ipntomtable, (struct mib_node* const)&iprtetable, (struct mib_node* const)&ipntomtable,
(struct mib_node* const)&ip_scalar (struct mib_node* const)&ip_scalar
}; };
const struct mib_array_node g_ip = { const struct mib_array_node mib2_ip = {
&noleafs_get_object_def, &noleafs_get_object_def,
&noleafs_get_value, &noleafs_get_value,
&noleafs_set_test, &noleafs_set_test,
@ -541,7 +541,7 @@ const struct mib_array_node attable = {
/* at .1.3.6.1.2.1.3 */ /* at .1.3.6.1.2.1.3 */
s32_t at_id = 1; s32_t at_id = 1;
struct mib_node* g_at_node = (struct mib_node* const)&attable; struct mib_node* mib2_at_node = (struct mib_node* const)&attable;
struct mib_ram_array_node at = { struct mib_ram_array_node at = {
&noleafs_get_object_def, &noleafs_get_object_def,
&noleafs_get_value, &noleafs_get_value,
@ -550,7 +550,7 @@ struct mib_ram_array_node at = {
MIB_NODE_RA, MIB_NODE_RA,
0, 0,
&at_id, &at_id,
&g_at_node &mib2_at_node
}; };
/** index root node for ifTable */ /** index root node for ifTable */
@ -680,7 +680,7 @@ struct mib_node* const mib2_nodes[MIB2_GROUPS] = {
(struct mib_node* const)&sys_tem, (struct mib_node* const)&sys_tem,
(struct mib_node* const)&interfaces, (struct mib_node* const)&interfaces,
(struct mib_node* const)&at, (struct mib_node* const)&at,
(struct mib_node* const)&g_ip, (struct mib_node* const)&mib2_ip,
(struct mib_node* const)&icmp, (struct mib_node* const)&icmp,
#if LWIP_TCP #if LWIP_TCP
(struct mib_node* const)&tcp, (struct mib_node* const)&tcp,