Commit d901db3f authored by Ondřej Zajíček's avatar Ondřej Zajíček
Browse files

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.
parent b807ef9a
......@@ -263,8 +263,9 @@ ospf_dbdes_receive(struct ospf_dbdes_packet *ps,
{
/* Duplicate packet */
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);
}
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment