summaryrefslogtreecommitdiffstats
path: root/proto/ospf/hello.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-03-29 19:18:06 +0200
committerOndrej Filip <feela@network.cz>2000-03-29 19:18:06 +0200
commit910e557b47f52bf38aa923a69249670d71befc02 (patch)
treeeb7bb463fb7ae1cc8651ef5e7224086ff8c866b9 /proto/ospf/hello.c
parent315648af8ed75c91e0dd82748a933963b9e0c4ec (diff)
downloadbird-910e557b47f52bf38aa923a69249670d71befc02.tar
bird-910e557b47f52bf38aa923a69249670d71befc02.zip
Many changes in dbdes sending & receiving. EXDONE caused.
Diffstat (limited to 'proto/ospf/hello.c')
-rw-r--r--proto/ospf/hello.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/proto/ospf/hello.c b/proto/ospf/hello.c
index e3b8168..e025ae4 100644
--- a/proto/ospf/hello.c
+++ b/proto/ospf/hello.c
@@ -106,6 +106,12 @@ ospf_hello_rx(struct ospf_hello_packet *ps, struct proto *p,
n->ldbdes=mb_alloc(p->pool, ifa->iface->mtu);
neigh_chstate(n,NEIGHBOR_DOWN);
install_inactim(n);
+ n->rxmt_timer=tm_new(p->pool);
+ n->rxmt_timer->data=n;
+ n->rxmt_timer->randomize=0;
+ n->rxmt_timer->hook=rxmt_timer_hook;
+ n->rxmt_timer->recurrent=ifa->rxmtint;
+ DBG("%s: Installing rxmt timer.\n", p->name);
}
ospf_neigh_sm(n, INM_HELLOREC);