summaryrefslogtreecommitdiff
path: root/proto/ospf/rt.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-31 14:21:56 +0000
committerOndrej Filip <feela@network.cz>2000-05-31 14:21:56 +0000
commitd1660fd3f38c29739ff36c86c6010d65fb90c608 (patch)
tree6f0ba3a810da517dff7ce5a4fb914dedb62c2739 /proto/ospf/rt.c
parent70a383198ae08bed395f2a083c1bea5b37447705 (diff)
Sort cleanup in aging.
Diffstat (limited to 'proto/ospf/rt.c')
-rw-r--r--proto/ospf/rt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c
index 27c6efb6..d13c9e59 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;