Take into account change to FRER from 802.1CBdb-2021
This commit is contained in:
@@ -75,7 +75,7 @@ VectorRecoveryFunction::DoRecovery(uint16_t seqNumber)
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (delta >= m_frerSeqRcvyHistoryLenght || delta <= -m_frerSeqRcvyHistoryLenght)
|
else if (delta > m_frerSeqRcvyHistoryLenght || delta <= -m_frerSeqRcvyHistoryLenght)
|
||||||
{
|
{
|
||||||
// Packet is out-of-range. Count and discard it.
|
// Packet is out-of-range. Count and discard it.
|
||||||
m_frerCpsSeqRcvyRoguePackets += 1;
|
m_frerCpsSeqRcvyRoguePackets += 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user