diff options
author | Ondrej Filip <feela@network.cz> | 2000-06-04 19:51:52 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-06-04 19:51:52 +0200 |
commit | 102e3e0e0277e7b123c7c1ae3635c4a8fb55c900 (patch) | |
tree | 6e197c8069a210538993ee5d6249960ddf3d7c14 | |
parent | 83e50ffc472c8869d58a7d1da27846bd727a8cfd (diff) | |
download | bird-102e3e0e0277e7b123c7c1ae3635c4a8fb55c900.tar bird-102e3e0e0277e7b123c7c1ae3635c4a8fb55c900.zip |
Just to be sure, that rt calculation cannot start beforeorigination of rt LSA.
-rw-r--r-- | proto/ospf/rt.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |