From: Ondrej Filip Date: Fri, 4 Jun 2004 14:21:08 +0000 (+0000) Subject: Don't repeat "Sheduling rt calc....." X-Git-Tag: v1.2.0~354 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3df1e80464ce5e6cea1b9a9500d1adbfe59cd564;p=thirdparty%2Fbird.git Don't repeat "Sheduling rt calc....." --- diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index ba40e3121..498b978bd 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;