mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-18 16:52:27 +00:00
Phone admin work (#4599)
* Don't throw an error on the sessionkey admin tag * Throw an error on packet sent to 0
This commit is contained in:
@@ -165,6 +165,9 @@ meshtastic_QueueStatus Router::getQueueStatus()
|
||||
|
||||
ErrorCode Router::sendLocal(meshtastic_MeshPacket *p, RxSource src)
|
||||
{
|
||||
if (p->to == 0) {
|
||||
LOG_ERROR("Packet received with to: of 0!\n");
|
||||
}
|
||||
// No need to deliver externally if the destination is the local node
|
||||
if (p->to == nodeDB->getNodeNum()) {
|
||||
printPacket("Enqueued local", p);
|
||||
|
||||
Reference in New Issue
Block a user