From 0940d673db84794f6e94ecb976d27f6347e446f6 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 11 Nov 2015 14:36:22 -0800 Subject: [PATCH] Always advertise to the cluster when we have a peer even if we have also initiated handoff. This might be the cause of the warmup problem -- will test later. At the very least it should not hurt anything due to pick-latest logic and the fact that cluster members with only suboptimal paths do not respond to WANT_PEER. --- node/Peer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/Peer.cpp b/node/Peer.cpp index d728cf4c1..f0f433990 100644 --- a/node/Peer.cpp +++ b/node/Peer.cpp @@ -188,7 +188,7 @@ void Peer::received( } #ifdef ZT_ENABLE_CLUSTER - if ((RR->cluster)&&(!suboptimalPath)) + if (RR->cluster) RR->cluster->broadcastHavePeer(_id); #endif