summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-06-04 16:21:08 +0200
committerOndrej Filip <feela@network.cz>2004-06-04 16:21:08 +0200
commit3df1e80464ce5e6cea1b9a9500d1adbfe59cd564 (patch)
treed8ec11519467beb427ed2e4deb92b1bd2f159052 /proto/ospf/ospf.c
parentd6c28f3ada7d2da8e762a1ed8e4fb70dfce2ca6f (diff)
downloadbird-3df1e80464ce5e6cea1b9a9500d1adbfe59cd564.tar
bird-3df1e80464ce5e6cea1b9a9500d1adbfe59cd564.zip
Don't repeat "Sheduling rt calc....."
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r--proto/ospf/ospf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index ba40e31..498b978 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;