summaryrefslogtreecommitdiff
path: root/proto/ospf/neighbor.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2005-02-14 11:54:16 +0000
committerOndrej Filip <feela@network.cz>2005-02-14 11:54:16 +0000
commitb181f444a6538b03a02296f02928e3c131b251a6 (patch)
tree31086fa3f7d91ae64522a136da7d02cd821c1488 /proto/ospf/neighbor.c
parent75c1c585197f2b4a1b0295d36fe16a4869c21914 (diff)
Small changes to reduce number of warnings.
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r--proto/ospf/neighbor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c
index 0339ec2d..58c0762b 100644
--- a/proto/ospf/neighbor.c
+++ b/proto/ospf/neighbor.c
@@ -532,7 +532,7 @@ struct ospf_area *
ospf_find_area(struct proto_ospf *po, u32 aid)
{
struct ospf_area *oa;
- WALK_LIST(NODE oa, po->area_list)
+ WALK_LIST(oa, po->area_list)
if (((struct ospf_area *) oa)->areaid == aid)
return oa;
return NULL;
@@ -630,7 +630,7 @@ rxmt_timer_hook(timer * timer)
init_list(&uplist);
upslab = sl_new(n->pool, sizeof(struct l_lsr_head));
- WALK_SLIST(SNODE en, n->lsrtl)
+ WALK_SLIST(en, n->lsrtl)
{
if ((SNODE en)->next == (SNODE en))
bug("RTList is cycled");