mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
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.
This commit is contained in:
parent
b94335f115
commit
0940d673db
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ void Peer::received(
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ZT_ENABLE_CLUSTER
|
#ifdef ZT_ENABLE_CLUSTER
|
||||||
if ((RR->cluster)&&(!suboptimalPath))
|
if (RR->cluster)
|
||||||
RR->cluster->broadcastHavePeer(_id);
|
RR->cluster->broadcastHavePeer(_id);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue