diff options
author | hasso <hasso> | 2004-09-23 21:18:23 +0200 |
---|---|---|
committer | hasso <hasso> | 2004-09-23 21:18:23 +0200 |
commit | 52dc7ee65f8d887b0730abc0a5d44d27fc6ecafd (patch) | |
tree | a557339540c56dd3953c29a50ca0e48c1911efc8 /ospfd/ospf_ia.c | |
parent | 2004-09-22 Paul Jakma <paul.jakma@sun.com> (diff) | |
download | frr-52dc7ee65f8d887b0730abc0a5d44d27fc6ecafd.tar.xz frr-52dc7ee65f8d887b0730abc0a5d44d27fc6ecafd.zip |
Remove usage of evil list and listnode typedefs.
Diffstat (limited to 'ospfd/ospf_ia.c')
-rw-r--r-- | ospfd/ospf_ia.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ospfd/ospf_ia.c b/ospfd/ospf_ia.c index bea265751..ff47f4fe7 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"); |