summaryrefslogtreecommitdiffstats
path: root/proto/ospf/hello.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-04-18 03:06:16 +0200
committerOndrej Filip <feela@network.cz>2000-04-18 03:06:16 +0200
commit67315ef64e3655c65cfab032d637fe29d3cf91b2 (patch)
tree95ddb8cb514d5163c4fb5cbf1eb13bf2ab5d7ec3 /proto/ospf/hello.c
parent2a0925948de20bd391d2c27a08ffdf2b4350e5c3 (diff)
downloadbird-67315ef64e3655c65cfab032d637fe29d3cf91b2.tar
bird-67315ef64e3655c65cfab032d637fe29d3cf91b2.zip
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.c7
1 files changed, 7 insertions, 0 deletions
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);