summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r--proto/ospf/ospf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index c753503..ce01a37 100644
--- a/proto/ospf/ospf.c
+++ b/proto/ospf/ospf.c
@@ -776,8 +776,8 @@ ospf_reconfigure(struct proto *p, struct proto_config *c)
}
}
- NODE ac1 = (NODE(ac1))->next;
- NODE ac2 = (NODE(ac2))->next;
+ ac1 = (struct ospf_area_config *)(NODE(ac1))->next;
+ ac2 = (struct ospf_area_config *)(NODE(ac2))->next;
}
if (((NODE(ac1))->next) != ((NODE(ac2))->next))