From ab56f6b16fd9401565a066122be3231dccd24fb6 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Thu, 24 Feb 2000 00:26:10 +0000 Subject: Area work and router LSA starts when interface goes up. --- proto/ospf/ospf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'proto/ospf/ospf.c') 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; } -- cgit v1.2.3