|
|
@ -1540,7 +1540,7 @@ void MyMesh::handleCmdFrame(size_t len) { |
|
|
if (recipient == NULL) { // FIRMWARE_VER_CODE 13+, allow non-contact requests
|
|
|
if (recipient == NULL) { // FIRMWARE_VER_CODE 13+, allow non-contact requests
|
|
|
memset(&anon, 0, sizeof(anon)); |
|
|
memset(&anon, 0, sizeof(anon)); |
|
|
memcpy(anon.id.pub_key, pub_key, PUB_KEY_SIZE); |
|
|
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
|
|
|
anon.type = ADV_TYPE_NONE; // unknown
|
|
|
|
|
|
|
|
|
if (addContact(anon)) recipient = &anon; |
|
|
if (addContact(anon)) recipient = &anon; |
|
|
|