From 9b55c67ac9a14faf577f54e74f13f7aac3c8e186 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Mon, 15 Jan 2024 11:08:21 -0500 Subject: [PATCH] fix issue where the converged FNE would continue to update an unauth'ed PEERs ping time resulting in it never timing out properly; --- src/fne/network/FNENetwork.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/fne/network/FNENetwork.cpp b/src/fne/network/FNENetwork.cpp index 332d71ee..224855da 100644 --- a/src/fne/network/FNENetwork.cpp +++ b/src/fne/network/FNENetwork.cpp @@ -326,8 +326,6 @@ void FNENetwork::clock(uint32_t ms) if (peerId > 0 && (m_peers.find(peerId) != m_peers.end())) { FNEPeerConnection* connection = m_peers[peerId]; if (connection != nullptr) { - connection->lastPing(now); - if (connection->connectionState() != NET_STAT_RUNNING) { auto it = std::find_if(m_peers.begin(), m_peers.end(), [&](PeerMapPair x) { return x.first == peerId; }); if (it != m_peers.end()) {