Take into account change to FRER from 802.1CBdb-2021

This commit is contained in:
2025-12-03 09:59:44 +01:00
parent a50a1dbfbf
commit 794dc7a669

View File

@@ -75,7 +75,7 @@ VectorRecoveryFunction::DoRecovery(uint16_t seqNumber)
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.
m_frerCpsSeqRcvyRoguePackets += 1;