summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.c
diff options
context:
space:
mode:
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 1805ac3..1cf6175 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;
}