浏览代码

* bug fix

Scott Powell 11 月之前
父节点
当前提交
5ccacb2a91
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;