Wessel
2 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/Mesh.cpp
|
|
|
@ -40,7 +40,7 @@ int Mesh::searchChannelsByHash(const uint8_t* hash, GroupChannel channels[], int |
|
|
|
|
|
|
|
DispatcherAction Mesh::onRecvPacket(Packet* pkt) { |
|
|
|
if (pkt->isRouteDirect() && pkt->getPayloadType() == PAYLOAD_TYPE_TRACE) { |
|
|
|
if (pkt->path_len < MAX_PATH_SIZE) { |
|
|
|
if (pkt->path_len + 1 < MAX_PATH_SIZE) { |
|
|
|
uint8_t i = 0; |
|
|
|
uint32_t trace_tag; |
|
|
|
memcpy(&trace_tag, &pkt->payload[i], 4); i += 4; |
|
|
|
|