Skip to content

Commit 30ccc1f

Browse files
author
Scott Powell
committed
* BUG FIX: remote login fix same as repeater
1 parent 0e903de commit 30ccc1f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/simple_room_server/MyMesh.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,10 @@ void MyMesh::onAnonDataRecv(mesh::Packet *packet, const uint8_t *secret, const m
332332
dirty_contacts_expiry = futureMillis(LAZY_CONTACTS_WRITE_DELAY);
333333
}
334334

335+
if (packet->isRouteFlood()) {
336+
client->out_path_len = -1; // need to rediscover out_path
337+
}
338+
335339
uint32_t now = getRTCClock()->getCurrentTimeUnique();
336340
memcpy(reply_data, &now, 4); // response packets always prefixed with timestamp
337341
// TODO: maybe reply with count of messages waiting to be synced for THIS client?

0 commit comments

Comments
 (0)