From cd09226078471cf9a2db4e755fbd5f6f137137c9 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Sun, 6 Jun 2004 17:03:56 +0000 Subject: Be sure, that ospf_area is aged before routing table calculation. --- proto/ospf/rt.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'proto/ospf/rt.c') 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; -- cgit v1.2.3