diff options
author | Ondrej Filip <feela@network.cz> | 2000-05-31 14:06:33 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-05-31 14:06:33 +0000 |
commit | 70a383198ae08bed395f2a083c1bea5b37447705 (patch) | |
tree | 1a67b5135a041977a5928d5885f702718d28b21a /proto/ospf/rt.c | |
parent | aa185265f1cb310c053edb1a3bde28b4dab94964 (diff) |
LSArt origination and routing table calculation is now not doing so
often. Instead of calculation I just schedule it latter.
Diffstat (limited to 'proto/ospf/rt.c')
-rw-r--r-- | proto/ospf/rt.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index 9b85df74..27c6efb6 100644 --- a/proto/ospf/rt.c +++ b/proto/ospf/rt.c @@ -50,20 +50,11 @@ ospf_rt_spfa(struct ospf_area *oa) debug("%s: Starting routing table calculation for area %I\n",p->name, oa->areaid); - flush=can_flush_lsa(oa); - - if((delta=now-oa->lage)>=AGINGDELTA) - { - oa->lage=now; - age=1; - } - WALK_SLIST_DELSAFE(SNODE en, nx, oa->lsal) { en->color=OUTSPF; en->dist=LSINFINITY; en->nhi=NULL; - if(age) ospf_age(en,delta,flush,oa); } FIB_WALK(in,nftmp) |