From 45bc8c736ec0309bf4a2291133413dee63aeee1a Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Wed, 22 Jun 2016 20:44:28 +0100 Subject: [PATCH] Do duplicate removal by sequence number always. --- YSFControl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/YSFControl.cpp b/YSFControl.cpp index 013c32f..3a533f9 100644 --- a/YSFControl.cpp +++ b/YSFControl.cpp @@ -395,8 +395,7 @@ void CYSFControl::writeNetwork() m_netSeqNo = 0U; } else { // Check for duplicate frames, if we can - // XXX this needs changing in the future - if (m_netSeqNo == data[34U] && m_netSeqNo != 0U) { + if (m_netSeqNo == data[34U]) { LogDebug("YSF, removing network duplicate, seq %u", data[34U] >> 1); return; }