From: Ondrej Zajicek Date: Wed, 25 Feb 2009 15:28:21 +0000 (+0100) Subject: Fixes another bug in packet retransmissions. X-Git-Tag: v1.2.0~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9dc5e1ef2fd08c53bceb54690f6dac83ddf0c81;p=thirdparty%2Fbird.git Fixes another bug in packet retransmissions. When slave was in full state, it didn't retransmit lost packets. That leads to OSPF connection locked in states loading-full. --- diff --git a/proto/ospf/dbdes.c b/proto/ospf/dbdes.c index 54190c39e..4cba667ca 100644 --- a/proto/ospf/dbdes.c +++ b/proto/ospf/dbdes.c @@ -344,6 +344,11 @@ ospf_dbdes_receive(struct ospf_dbdes_packet *ps, /* Only duplicate are accepted */ { OSPF_TRACE(D_PACKETS, "Received duplicate dbdes from %I.", n->ip); + if (n->myimms.bit.ms == 0) + { + /* Slave should retransmit dbdes packet */ + ospf_dbdes_send(n); + } return; } else