From 70aa28c53c00cf97d8f9b0bdb2b2c2077c7e5431 Mon Sep 17 00:00:00 2001 From: GUVWAF Date: Fri, 8 Nov 2024 21:28:19 +0100 Subject: [PATCH] Stop retransmission for original packet --- src/mesh/NextHopRouter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesh/NextHopRouter.cpp b/src/mesh/NextHopRouter.cpp index 38cc0fe6d..c5bb5b87c 100644 --- a/src/mesh/NextHopRouter.cpp +++ b/src/mesh/NextHopRouter.cpp @@ -71,7 +71,8 @@ void NextHopRouter::sniffReceived(const meshtastic_MeshPacket *p, const meshtast } if (!isToUs(p)) { Router::cancelSending(p->to, p->decoded.request_id); // cancel rebroadcast for this DM - stopRetransmission(p->from, p->decoded.request_id); // stop retransmission for this packet + // stop retransmission for the original packet + stopRetransmission(p->to, p->decoded.request_id); // for original packet, from = to and id = request_id } }