]> git.puffer.fish Git - matthieu/frr.git/commitdiff
Compile fix - convert foreach_lsa to LSDB_LOOP
authorpaul <paul>
Mon, 7 Apr 2003 04:29:27 +0000 (04:29 +0000)
committerpaul <paul>
Mon, 7 Apr 2003 04:29:27 +0000 (04:29 +0000)
ospfd/ospf_ase.c

index 3747bc16b0e1af4bdf42d5236688a07dbb0ffb4c..5605933b505e04332a8b4fdfcf6e6b214049c302 100644 (file)
@@ -645,8 +645,8 @@ ospf_ase_calculate_timer (struct thread *t)
                ospf_ase_calculate_route (ospf, lsa);
          }
       /* kevinm: And add the NSSA routes in ospf_top */
-      foreach_lsa(NSSA_LSDB (ospf_top), NULL, 0,
-                 ospf_ase_calculate_route);
+      LSDB_LOOP (NSSA_LSDB (ospf),rn,lsa)
+               ospf_ase_calculate_route(ospf,lsa);
 
 #endif /* HAVE_NSSA */