From 52dc7ee65f8d887b0730abc0a5d44d27fc6ecafd Mon Sep 17 00:00:00 2001 From: hasso Date: Thu, 23 Sep 2004 19:18:23 +0000 Subject: Remove usage of evil list and listnode typedefs. --- ospfd/ospf_ia.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ospfd/ospf_ia.c') diff --git a/ospfd/ospf_ia.c b/ospfd/ospf_ia.c index bea26575..ff47f4fe 100644 --- a/ospfd/ospf_ia.c +++ b/ospfd/ospf_ia.c @@ -55,14 +55,14 @@ ospf_find_abr_route (struct route_table *rtrs, { struct route_node *rn; struct ospf_route *or; - listnode node; + struct listnode *node; if ((rn = route_node_lookup (rtrs, (struct prefix *) abr)) == NULL) return NULL; route_unlock_node (rn); - for (node = listhead ((list) rn->info); node; nextnode (node)) + for (node = listhead ((struct list *) rn->info); node; nextnode (node)) if ((or = getdata (node)) != NULL) if (IPV4_ADDR_SAME (&or->u.std.area_id, &area->area_id) && (or->u.std.flags & ROUTER_LSA_BORDER)) return or; @@ -611,7 +611,7 @@ ospf_ia_routing (struct ospf *ospf, if (IS_OSPF_ABR (ospf)) { - listnode node; + struct listnode *node; struct ospf_area *area; switch (ospf->abr_type) @@ -622,7 +622,7 @@ ospf_ia_routing (struct ospf *ospf, if ((area = ospf->backbone)) { - listnode node; + struct listnode *node; if (IS_DEBUG_OSPF_EVENT) { @@ -707,7 +707,7 @@ ospf_ia_routing (struct ospf *ospf, } else { - listnode node; + struct listnode *node; if (IS_DEBUG_OSPF_EVENT) zlog_info ("ospf_ia_routing():not ABR, considering all areas"); -- cgit v1.2.3