summaryrefslogtreecommitdiff
path: root/proto/ospf/hello.c
diff options
context:
space:
mode:
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 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);