Fix TCP messaging via transport nodes and implement known_destinations persistence

This commit is contained in:
DeFiDude committed 2026-03-08 21:56:30 -06:00
1 parent 392363c1b0
commit 425c2a9907
2 files changed
+122 -54

No files matched your search

+1 -1
View File
@@ -791,7 +791,7 @@ Transport::DestinationEntry empty_destination_entry;
// This rule applies both for "normal" transport, and when connected
// to a local shared Reticulum instance.
//if Transport.destination_table[packet.destination_hash][2] > 1:
if (destination_entry._hops > 1) {
if (destination_entry._hops >= 1) {
TRACE("Forwarding packet to next closest interface...");
if (packet.header_type() == Type::Packet::HEADER_1) {
// Insert packet into transport