summaryrefslogtreecommitdiffstats
path: root/proto/ospf/rt.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-04 00:36:12 +0200
committerOndrej Filip <feela@network.cz>2000-05-04 00:36:12 +0200
commit9e48d717cf681dcc3cfaaee4358b5c6fa3aa409e (patch)
tree6796b8f0450a3acac8c877c4d54afa7221bdada0 /proto/ospf/rt.c
parenta02c6c184b513fe1886c86533e696045e960515b (diff)
downloadbird-9e48d717cf681dcc3cfaaee4358b5c6fa3aa409e.tar
bird-9e48d717cf681dcc3cfaaee4358b5c6fa3aa409e.zip
Test for "flushing" added.
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 bd2aa87..4625df6 100644
--- a/proto/ospf/rt.c
+++ b/proto/ospf/rt.c
@@ -30,14 +30,14 @@ ospf_rt_spfa(struct ospf_area *oa)
int age=0,flush=0;
struct proto *p=&oa->po->proto;
- /* FIXME if I'm not in LOADING or EXCHANGE set flush=1 */
+ flush=can_flush_lsa(oa);
if((delta=now-oa->lage)>=AGINGDELTA)
{
oa->lage=now;
age=1;
}
- WALK_SLIST_DELSAFE(SNODE en, nx, oa->lsal) /* FIXME Make it DELSAFE */
+ WALK_SLIST_DELSAFE(SNODE en, nx, oa->lsal)
{
en->color=OUTSPF;
en->dist=LSINFINITY;