diff options
author | Ondrej Filip <feela@network.cz> | 2000-03-30 00:18:59 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-03-30 00:18:59 +0000 |
commit | 6d2b32114feadb283cb988daa7ed80142aa8c4d1 (patch) | |
tree | 67274abcbca41d5c2b7f640f24f11d90f84c3749 /proto/ospf/hello.c | |
parent | 3ee2310c5dccebe2b63098ab478b5b1d61e4fcb2 (diff) |
LSreq initial work.
Diffstat (limited to 'proto/ospf/hello.c')
-rw-r--r-- | proto/ospf/hello.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/proto/ospf/hello.c b/proto/ospf/hello.c index e025ae47..77d114c7 100644 --- a/proto/ospf/hello.c +++ b/proto/ospf/hello.c @@ -112,6 +112,12 @@ ospf_hello_rx(struct ospf_hello_packet *ps, struct proto *p, n->rxmt_timer->hook=rxmt_timer_hook; n->rxmt_timer->recurrent=ifa->rxmtint; DBG("%s: Installing rxmt timer.\n", p->name); + n->lsrr_timer=tm_new(p->pool); + n->lsrr_timer->data=n; + n->lsrr_timer->randomize=0; + n->lsrr_timer->hook=lsrr_timer_hook; + n->lsrr_timer->recurrent=ifa->rxmtint; + DBG("%s: Installing lsrr timer.\n", p->name); } ospf_neigh_sm(n, INM_HELLOREC); |