summaryrefslogtreecommitdiff
path: root/proto/ospf/ospf.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-02-24 00:26:10 +0000
committerOndrej Filip <feela@network.cz>2000-02-24 00:26:10 +0000
commitab56f6b16fd9401565a066122be3231dccd24fb6 (patch)
tree4c48d05245a41d912511857db02f058d8371fbf6 /proto/ospf/ospf.c
parentea28da044af9a35407724ba091d9a823c1cfe7e7 (diff)
Area work and router LSA starts when interface goes up.
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r--proto/ospf/ospf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index 1805ac3f..1cf6175a 100644
--- a/proto/ospf/ospf.c
+++ b/proto/ospf/ospf.c
@@ -22,7 +22,10 @@ ospf_start(struct proto *p)
po->firstarea->gr=ospf_top_new(po);
po->firstarea->next=NULL;
po->firstarea->areaid=0;
-
+
+ po->areano=0; /* Waiting for interfaces comming up */
+ po->firstarea=NULL;
+ po->areaslab=sl_new(p->pool, sizeof(struct ospf_area));
return PS_UP;
}