diff options
author | Ondrej Filip <feela@network.cz> | 2000-03-29 17:18:06 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-03-29 17:18:06 +0000 |
commit | 910e557b47f52bf38aa923a69249670d71befc02 (patch) | |
tree | eb7bb463fb7ae1cc8651ef5e7224086ff8c866b9 /proto/ospf/iface.c | |
parent | 315648af8ed75c91e0dd82748a933963b9e0c4ec (diff) |
Many changes in dbdes sending & receiving. EXDONE caused.
Diffstat (limited to 'proto/ospf/iface.c')
-rw-r--r-- | proto/ospf/iface.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index e2aaa7ad..2d53cf5f 100644 --- a/proto/ospf/iface.c +++ b/proto/ospf/iface.c @@ -211,14 +211,6 @@ ospf_add_timers(struct ospf_iface *ifa, pool *pool) ifa->hello_timer->recurrent=ifa->helloint; DBG("%s: Installing hello timer. (%u)\n", p->name, ifa->helloint); - ifa->rxmt_timer=tm_new(pool); - ifa->rxmt_timer->data=ifa; - ifa->rxmt_timer->randomize=0; - if(ifa->rxmtint==0) ifa->rxmtint=RXMTINT_D; - ifa->rxmt_timer->hook=rxmt_timer_hook; - ifa->rxmt_timer->recurrent=ifa->rxmtint; - DBG("%s: Installing rxmt timer. (%u)\n", p->name, ifa->rxmtint); - ifa->wait_timer=tm_new(pool); ifa->wait_timer->data=ifa; ifa->wait_timer->randomize=0; @@ -226,6 +218,8 @@ ospf_add_timers(struct ospf_iface *ifa, pool *pool) ifa->wait_timer->recurrent=0; if(ifa->waitint==0) ifa->waitint= WAIT_DMH*ifa->helloint; DBG("%s: Installing wait timer. (%u)\n", p->name, ifa->waitint); + + if(ifa->rxmtint==0) ifa->rxmtint=RXMTINT_D; } void |