]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Age LSA DB after LSA origination and before routing table calculation.
authorOndrej Filip <feela@network.cz>
Mon, 4 Mar 2002 15:54:39 +0000 (15:54 +0000)
committerOndrej Filip <feela@network.cz>
Mon, 4 Mar 2002 15:54:39 +0000 (15:54 +0000)
proto/ospf/ospf.c

index 7f48f01579211bc5ec4a5849ce7d897d38f0c958..12037c81bae1b3b315a2d7e33039e3d1ea45e4a4 100644 (file)
@@ -287,9 +287,6 @@ area_disp(timer *timer)
   struct proto_ospf *po=oa->po;
   struct ospf_iface *ifa;
 
-  /* First of all try to age LSA DB */
-  ospf_age(oa);
-
   /* Now try to originage rt_lsa */
   if(oa->origrt) originate_rt_lsa(oa);
 
@@ -299,6 +296,10 @@ area_disp(timer *timer)
     if(ifa->orignet&&(ifa->an==oa->areaid)) originate_net_lsa(ifa);
   }
 
+  /* Age LSA DB */
+  ospf_age(oa);
+
+  /* Calculate routing table */
   if(oa->calcrt) ospf_rt_spfa(oa);
   oa->calcrt=0;
 }