Stop retransmission even if there's not relay node

This commit is contained in:
GUVWAF 2024-11-02 19:35:01 +01:00
parent e4c98185d2
commit aab973e81b

View File

@ -68,10 +68,10 @@ 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
}
}
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
}
}