Stop retransmission for original packet

This commit is contained in:
GUVWAF 2024-11-08 21:28:19 +01:00
parent fbefce7e10
commit 70aa28c53c

View File

@ -71,7 +71,8 @@ void NextHopRouter::sniffReceived(const meshtastic_MeshPacket *p, const meshtast
} }
if (!isToUs(p)) { if (!isToUs(p)) {
Router::cancelSending(p->to, p->decoded.request_id); // cancel rebroadcast for this DM 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
} }
} }