From 3df1e80464ce5e6cea1b9a9500d1adbfe59cd564 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Fri, 4 Jun 2004 14:21:08 +0000 Subject: [PATCH] Don't repeat "Sheduling rt calc....." --- proto/ospf/ospf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index ba40e312..498b978b 100644 --- a/proto/ospf/ospf.c +++ b/proto/ospf/ospf.c @@ -267,6 +267,8 @@ schedule_rtcalc(struct ospf_area *oa) struct proto_ospf *po=oa->po; struct proto *p=&po->proto; + if(oa->calcrt) return; + OSPF_TRACE(D_EVENTS, "Scheduling RT calculation for area %I.", oa->areaid); oa->calcrt=1;