mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-31 15:10:40 +00:00
Set hop_limit and hop_start on message rebroadcasts
This commit is contained in:
@@ -998,6 +998,8 @@ void StoreForwardPlusPlusModule::rebroadcastLinkObject(StoreForwardPlusPlusModul
|
||||
p->to = lo.to;
|
||||
p->from = lo.from;
|
||||
p->id = lo.id;
|
||||
p->hop_limit = HOP_RELIABLE;
|
||||
p->hop_start = HOP_RELIABLE;
|
||||
p->channel = lo.channel_hash;
|
||||
p->which_payload_variant = meshtastic_MeshPacket_encrypted_tag;
|
||||
p->encrypted.size = lo.encrypted_len;
|
||||
|
||||
Reference in New Issue
Block a user