Scott Powell 11 hónapja
szülő
commit
5ccacb2a91
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      examples/simple_room_server/MyMesh.cpp

+ 1 - 1
examples/simple_room_server/MyMesh.cpp

@@ -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) {
         MESH_DEBUG_PRINTLN("possible replay attack!");
         return;