diff --git a/src/Transport.cpp b/src/Transport.cpp index 2b718a7..d9d1ae7 100644 --- a/src/Transport.cpp +++ b/src/Transport.cpp @@ -1985,10 +1985,12 @@ Transport::DestinationEntry empty_destination_entry; new_announce.send(); } - // CBA Culling before adding to esnure table does not exceed maxsize - TRACEF("Caching packet %s", packet.get_hash().toHex().c_str()); - if (RNS::Transport::cache_packet(packet, true)) { - packet.cached(true); + // Cache announce packets only for transport nodes (endpoints don't rebroadcast) + if (Reticulum::transport_enabled()) { + TRACEF("Caching packet %s", packet.get_hash().toHex().c_str()); + if (RNS::Transport::cache_packet(packet, true)) { + packet.cached(true); + } } //TRACEF("Adding packet %s to packet table", packet.get_hash().toHex().c_str()); //PacketEntry packet_entry(packet);