diff options
author | Ondrej Filip <feela@network.cz> | 2004-06-06 17:03:56 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2004-06-06 17:03:56 +0000 |
commit | cd09226078471cf9a2db4e755fbd5f6f137137c9 (patch) | |
tree | fd9a702b53b34d0fec97f86fca9bdd275e6ef3b6 /proto/ospf/rt.c | |
parent | 933bfdde2a0bc4e31e74a3f9e03174b0287c03fb (diff) |
Be sure, that ospf_area is aged before routing table calculation.
Diffstat (limited to 'proto/ospf/rt.c')
-rw-r--r-- | proto/ospf/rt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index cbd53f65..78eb8025 100644 --- a/proto/ospf/rt.c +++ b/proto/ospf/rt.c @@ -69,6 +69,9 @@ ospf_rt_spfa(struct ospf_area *oa) if (oa->rt == NULL) return; + if (oa->rt->dist != LSINFINITY) + ospf_age(oa); + FIB_WALK(in, nftmp) { nf = (struct infib *) nftmp; |