From 315648af8ed75c91e0dd82748a933963b9e0c4ec Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Wed, 29 Mar 2000 13:02:58 +0000 Subject: [PATCH] RXMT timer handling bug fix. --- proto/ospf/dbdes.c | 2 ++ 1 file changed, 2 insertions(+) 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 {