mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
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.
This commit is contained in:
parent
82ba9032be
commit
a9dc5e1ef2
@ -344,6 +344,11 @@ ospf_dbdes_receive(struct ospf_dbdes_packet *ps,
|
|||||||
/* Only duplicate are accepted */
|
/* Only duplicate are accepted */
|
||||||
{
|
{
|
||||||
OSPF_TRACE(D_PACKETS, "Received duplicate dbdes from %I.", n->ip);
|
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;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user