mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 16:48:43 +00:00
Fixes bug in packet retransmissions.
When packet was lost during dbdes exchange, slave did not retransmit it. That leads to OSPF connection locked in states exchange-exstart.
This commit is contained in:
parent
b807ef9a15
commit
d901db3fb7
@ -263,8 +263,9 @@ ospf_dbdes_receive(struct ospf_dbdes_packet *ps,
|
|||||||
{
|
{
|
||||||
/* Duplicate packet */
|
/* Duplicate packet */
|
||||||
OSPF_TRACE(D_PACKETS, "Received duplicate dbdes from %I.", n->ip);
|
OSPF_TRACE(D_PACKETS, "Received duplicate dbdes from %I.", n->ip);
|
||||||
if (n->imms.bit.ms == 0)
|
if (n->myimms.bit.ms == 0)
|
||||||
{
|
{
|
||||||
|
/* Slave should retransmit dbdes packet */
|
||||||
ospf_dbdes_send(n);
|
ospf_dbdes_send(n);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user