From 67315ef64e3655c65cfab032d637fe29d3cf91b2 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 18 Apr 2000 01:06:16 +0000 Subject: Some lsack work. There is something very worng. :-( It locked my network. --- proto/ospf/hello.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'proto/ospf/hello.c') diff --git a/proto/ospf/hello.c b/proto/ospf/hello.c index 77d114c..aea9c14 100644 --- a/proto/ospf/hello.c +++ b/proto/ospf/hello.c @@ -118,6 +118,13 @@ ospf_hello_rx(struct ospf_hello_packet *ps, struct proto *p, n->lsrr_timer->hook=lsrr_timer_hook; n->lsrr_timer->recurrent=ifa->rxmtint; DBG("%s: Installing lsrr timer.\n", p->name); + init_list(&n->ackl); + n->ackd_timer=tm_new(p->pool); + n->ackd_timer->data=n; + n->ackd_timer->randomize=0; + n->ackd_timer->hook=ackd_timer_hook; + n->ackd_timer->recurrent=ifa->rxmtint/2; /* FIXME use some config? */ + DBG("%s: Installing ackd timer.\n", p->name); } ospf_neigh_sm(n, INM_HELLOREC); -- cgit v1.2.3