summaryrefslogtreecommitdiffstats
path: root/proto/ospf/iface.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/iface.c
parent315648af8ed75c91e0dd82748a933963b9e0c4ec (diff)
downloadbird-910e557b47f52bf38aa923a69249670d71befc02.tar
bird-910e557b47f52bf38aa923a69249670d71befc02.zip
Many changes in dbdes sending & receiving. EXDONE caused.
Diffstat (limited to 'proto/ospf/iface.c')
-rw-r--r--proto/ospf/iface.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c
index e2aaa7a..2d53cf5 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