diff options
author | Ondrej Filip <feela@network.cz> | 2000-05-03 22:36:12 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-05-03 22:36:12 +0000 |
commit | 9e48d717cf681dcc3cfaaee4358b5c6fa3aa409e (patch) | |
tree | 6796b8f0450a3acac8c877c4d54afa7221bdada0 /proto/ospf/rt.c | |
parent | a02c6c184b513fe1886c86533e696045e960515b (diff) |
Test for "flushing" added.
Diffstat (limited to 'proto/ospf/rt.c')
-rw-r--r-- | proto/ospf/rt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index bd2aa876..4625df6b 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; |