mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-06-07 00:01:45 +00:00
* direct/zero hop by default
This commit is contained in:
@@ -1540,7 +1540,7 @@ void MyMesh::handleCmdFrame(size_t len) {
|
||||
if (recipient == NULL) { // FIRMWARE_VER_CODE 13+, allow non-contact requests
|
||||
memset(&anon, 0, sizeof(anon));
|
||||
memcpy(anon.id.pub_key, pub_key, PUB_KEY_SIZE);
|
||||
anon.out_path_len = OUT_PATH_UNKNOWN;
|
||||
anon.out_path_len = 0; // default to zero-hop direct
|
||||
anon.type = ADV_TYPE_NONE; // unknown
|
||||
|
||||
if (addContact(anon)) recipient = &anon;
|
||||
|
||||
Reference in New Issue
Block a user