mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-23 13:38:01 +00:00
Stop retransmission even if there's not relay node
This commit is contained in:
parent
e4c98185d2
commit
aab973e81b
@ -68,12 +68,12 @@ 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
|
stopRetransmission(p->from, p->decoded.request_id); // stop retransmission for this packet
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (isRebroadcaster()) {
|
if (isRebroadcaster()) {
|
||||||
if (!isToUs(p) && !isFromUs(p)) {
|
if (!isToUs(p) && !isFromUs(p)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user