From d1660fd3f38c29739ff36c86c6010d65fb90c608 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Wed, 31 May 2000 14:21:56 +0000 Subject: Sort cleanup in aging. --- proto/ospf/rt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto/ospf/rt.c') diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index 27c6efb..d13c9e5 100644 --- a/proto/ospf/rt.c +++ b/proto/ospf/rt.c @@ -33,7 +33,7 @@ init_efib(struct fib_node *fn) void ospf_rt_spfa(struct ospf_area *oa) { - struct top_hash_entry *en, *nx; + struct top_hash_entry *en; u32 i,*rts; struct ospf_lsa_rt *rt; struct ospf_lsa_rt_link *rtl,*rr; @@ -50,7 +50,7 @@ ospf_rt_spfa(struct ospf_area *oa) debug("%s: Starting routing table calculation for area %I\n",p->name, oa->areaid); - WALK_SLIST_DELSAFE(SNODE en, nx, oa->lsal) + WALK_SLIST(SNODE en, oa->lsal) { en->color=OUTSPF; en->dist=LSINFINITY; -- cgit v1.2.3