From 921a93f2176723d235989efe882050c0265bea84 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 4 Apr 2000 00:32:17 +0000 Subject: Flooding work continues. --- proto/ospf/neighbor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'proto/ospf/neighbor.c') diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c index ae415e1..e57143e 100644 --- a/proto/ospf/neighbor.c +++ b/proto/ospf/neighbor.c @@ -210,10 +210,11 @@ ospf_neigh_sm(struct ospf_neighbor *n, int event) s_init_list(&(n->lsrql)); n->lsrqh=ospf_top_new(n->ifa->proto); s_init_list(&(n->lsrtl)); + n->lsrth=ospf_top_new(n->ifa->proto); s_init(&(n->dbsi), &(n->ifa->oa->lsal)); s_init(&(n->lsrqi), &(n->lsrql)); + s_init(&(n->lsrti), &(n->lsrtl)); tm_start(n->lsrr_timer,n->ifa->rxmtint); - /*ospf_dbdes_tx(n);*/ } else die("NEGDONE and I'm not in EXSTART?\n"); break; @@ -222,6 +223,7 @@ ospf_neigh_sm(struct ospf_neighbor *n, int event) /* FIXME Go on */ break; case INM_LOADDONE: + neigh_chstate(n,NEIGHBOR_FULL); break; case INM_ADJOK: switch(n->state) -- cgit v1.2.3