From b7046bcb4784328acf7a54cdd765b4000bbb688a Mon Sep 17 00:00:00 2001 From: Green Sky Date: Sat, 13 Dec 2025 15:37:01 +0100 Subject: [PATCH] ignore resent in reorder detection --- solanaceae/ngc_ft1/flow_only.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solanaceae/ngc_ft1/flow_only.cpp b/solanaceae/ngc_ft1/flow_only.cpp index 0479cac..e7f0ceb 100644 --- a/solanaceae/ngc_ft1/flow_only.cpp +++ b/solanaceae/ngc_ft1/flow_only.cpp @@ -170,7 +170,7 @@ void FlowOnly::onAck(std::vector seqs) { // find first non ignore, it should be the expected auto first_it = std::find_if_not(_in_flight.cbegin(), _in_flight.cend(), [](const auto& v) -> bool { return v.ignore; }); - if (first_it != _in_flight.cend() && it != first_it) { + if (first_it != _in_flight.cend() && it != first_it && !it->ignore) { // not next expected seq -> skip detected _consecutive_events++;