summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-03-29 13:02:58 +0000
committerOndrej Filip <feela@network.cz>2000-03-29 13:02:58 +0000
commit315648af8ed75c91e0dd82748a933963b9e0c4ec (patch)
tree72a8e9d5c5d7e058b1a51311100b341ed522c4fc /proto
parent3fba20968816a9dbd4565fd6806f29d72d73f638 (diff)
RXMT timer handling bug fix.
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/dbdes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/ospf/dbdes.c b/proto/ospf/dbdes.c
index 28bd46e7..1b82a4ef 100644
--- a/proto/ospf/dbdes.c
+++ b/proto/ospf/dbdes.c
@@ -150,6 +150,7 @@ ospf_dbdes_tx(struct ospf_neighbor *n)
sk_send_to(ifa->ip_sk,length, n->ip, OSPF_PROTO);
debug("%s: DB_DES sent for %u.\n", p->name, n->rid);
+ if(n->myimms.bit.ms) tm_start(n->ifa->rxmt_timer,1);
default: /* Ignore it */
break;
@@ -222,6 +223,7 @@ ospf_dbdes_rx(struct ospf_dbdes_packet *ps, struct proto *p,
n->imms.byte=ps->imms.byte;
debug("%s: I'm slave to %u. \n", p->name, nrid);
ospf_neigh_sm(n, INM_NEGDONE);
+ tm_stop(n->ifa->rxmt_timer);
}
else
{