summaryrefslogtreecommitdiff
path: root/proto/ospf/lsalib.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-06-06 17:03:56 +0000
committerOndrej Filip <feela@network.cz>2004-06-06 17:03:56 +0000
commitcd09226078471cf9a2db4e755fbd5f6f137137c9 (patch)
treefd9a702b53b34d0fec97f86fca9bdd275e6ef3b6 /proto/ospf/lsalib.c
parent933bfdde2a0bc4e31e74a3f9e03174b0287c03fb (diff)
Be sure, that ospf_area is aged before routing table calculation.
Diffstat (limited to 'proto/ospf/lsalib.c')
-rw-r--r--proto/ospf/lsalib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/lsalib.c b/proto/ospf/lsalib.c
index 80649f53..fcf23fc6 100644
--- a/proto/ospf/lsalib.c
+++ b/proto/ospf/lsalib.c
@@ -49,7 +49,7 @@ ospf_age(struct ospf_area *oa)
WALK_SLIST_DELSAFE(en, nxt, oa->lsal)
{
- if (po->calcrt)
+ if (oa->rt && (oa->rt->dist != LSINFINITY))
{
en->color = OUTSPF;
en->dist = LSINFINITY;