From 102e3e0e0277e7b123c7c1ae3635c4a8fb55c900 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Sun, 4 Jun 2000 17:51:52 +0000 Subject: Just to be sure, that rt calculation cannot start beforeorigination of rt LSA. --- proto/ospf/rt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index 1926a2b..d9e7094 100644 --- a/proto/ospf/rt.c +++ b/proto/ospf/rt.c @@ -50,6 +50,8 @@ ospf_rt_spfa(struct ospf_area *oa) debug("%s: Starting routing table calculation for area %I\n",p->name, oa->areaid); + if(oa->rt==NULL) return; + WALK_SLIST(SNODE en, oa->lsal) { en->color=OUTSPF; -- cgit v1.2.3