mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-22 21:18:00 +00:00
Stop retransmission for original packet
This commit is contained in:
parent
fbefce7e10
commit
70aa28c53c
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user