diff options
author | Ondrej Filip <feela@network.cz> | 2000-04-18 01:06:16 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-04-18 01:06:16 +0000 |
commit | 67315ef64e3655c65cfab032d637fe29d3cf91b2 (patch) | |
tree | 95ddb8cb514d5163c4fb5cbf1eb13bf2ab5d7ec3 /proto/ospf/hello.c | |
parent | 2a0925948de20bd391d2c27a08ffdf2b4350e5c3 (diff) |
Some lsack work. There is something very worng. :-( It locked my network.
Diffstat (limited to 'proto/ospf/hello.c')
-rw-r--r-- | proto/ospf/hello.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/proto/ospf/hello.c b/proto/ospf/hello.c index 77d114c7..aea9c142 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); |