* bug fix
This commit is contained in:
1 parent
68e31d23d1
commit
daf616015b
1 file changed
+1
-1
@@ -313,7 +313,7 @@ void MyMesh::onAnonDataRecv(mesh::Packet *packet, const uint8_t *secret, const m
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
auto client = acl.putClient(sender, 0); // add to known clients (if not already known)
|
client = acl.putClient(sender, 0); // add to known clients (if not already known)
|
||||||
if (sender_timestamp <= client->last_timestamp) {
|
if (sender_timestamp <= client->last_timestamp) {
|
||||||
MESH_DEBUG_PRINTLN("possible replay attack!");
|
MESH_DEBUG_PRINTLN("possible replay attack!");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in new issue
Block a user