mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* BUG FIX: remote login fix same as repeater
This commit is contained in:
parent
0e903de72c
commit
30ccc1fa01
1 changed files with 4 additions and 0 deletions
|
|
@ -332,6 +332,10 @@ void MyMesh::onAnonDataRecv(mesh::Packet *packet, const uint8_t *secret, const m
|
||||||
dirty_contacts_expiry = futureMillis(LAZY_CONTACTS_WRITE_DELAY);
|
dirty_contacts_expiry = futureMillis(LAZY_CONTACTS_WRITE_DELAY);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (packet->isRouteFlood()) {
|
||||||
|
client->out_path_len = -1; // need to rediscover out_path
|
||||||
|
}
|
||||||
|
|
||||||
uint32_t now = getRTCClock()->getCurrentTimeUnique();
|
uint32_t now = getRTCClock()->getCurrentTimeUnique();
|
||||||
memcpy(reply_data, &now, 4); // response packets always prefixed with timestamp
|
memcpy(reply_data, &now, 4); // response packets always prefixed with timestamp
|
||||||
// TODO: maybe reply with count of messages waiting to be synced for THIS client?
|
// TODO: maybe reply with count of messages waiting to be synced for THIS client?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue