Debug log for indicator

This commit is contained in:
Ben Meadors 2023-01-29 15:42:40 -06:00
parent cd35e92471
commit ec1358b050

View File

@ -61,6 +61,7 @@ void FloodingRouter::sniffReceived(const meshtastic_MeshPacket *p, const meshtas
}
if (config.device.rebroadcast_mode == meshtastic_Config_DeviceConfig_RebroadcastMode_LOCAL_ONLY) {
LOG_DEBUG("Cancelling rebroadcast from node of a foreign mesh, due to local only rebroadcast mode\n");
Router::cancelSending(p->to, p->decoded.request_id);
}
// handle the packet as normal