* direct/zero hop by default

This commit is contained in:
Scott Powell
2026-06-02 15:32:28 +10:00
parent bc5d648204
commit 83ad3a6dc0
+1 -1
View File
@@ -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;