diff --git a/src/common/network/Network.cpp b/src/common/network/Network.cpp index 61c51ee6..9fe9b3e8 100644 --- a/src/common/network/Network.cpp +++ b/src/common/network/Network.cpp @@ -902,8 +902,9 @@ void Network::clock(uint32_t ms) m_tidLookup->eraseEntry(id, slot); } - LogInfoEx(LOG_NET, "Activated%s%s TG %u TS %u in TGID table", - (nonPreferred) ? " non-preferred" : "", (affiliated) ? " affiliated" : "", id, slot); + LogInfoEx(LOG_NET, "Activated%s%s TG %u TS %u %s in TGID table", + (nonPreferred) ? " non-preferred" : "", (affiliated) ? " affiliated" : "", id, slot, + (strappedBit) ? "strapped" : (clearBit) ? "clear" : "selectable"); m_tidLookup->addEntry(id, slot, true, affiliated, nonPreferred, strapping); } diff --git a/src/fne/network/TrafficNetwork.cpp b/src/fne/network/TrafficNetwork.cpp index f27f591c..f78de2a9 100644 --- a/src/fne/network/TrafficNetwork.cpp +++ b/src/fne/network/TrafficNetwork.cpp @@ -3077,7 +3077,7 @@ void TrafficNetwork::writeTGIDs(uint32_t peerId, uint32_t streamId, bool sendRep } // set the $10 bit of the slot number to identify if this TG is clear only - if (entry.config().strapping() != lookups::TG_STRAPPING_CLEAR) { + if (entry.config().strapping() == lookups::TG_STRAPPING_CLEAR) { slotNo |= 0x10U; }