summaryrefslogtreecommitdiff
path: root/proto/ospf
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf')
-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 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;