diff --git a/node/Peer.cpp b/node/Peer.cpp index f8d51a901..a9dd8ce1e 100644 --- a/node/Peer.cpp +++ b/node/Peer.cpp @@ -229,7 +229,7 @@ void Peer::received( SharedPtr Peer::getAppropriatePath(int64_t now, bool includeExpired, int32_t flowId) { Mutex::Lock _l(_paths_m); - Mutex::Lock _l(_bond_m); + Mutex::Lock _lb(_bond_m); if (!_bond) { unsigned int bestPath = ZT_MAX_PEER_NETWORK_PATHS; /**