mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
A few other little formatting things.
This commit is contained in:
parent
c589bc4c57
commit
76f9b4c582
1 changed files with 2 additions and 2 deletions
|
@ -215,7 +215,7 @@ void Switch::onRemotePacket(const InetAddress &localAddr,const InetAddress &from
|
||||||
unite(source,destination);
|
unite(source,destination);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
#ifdef ZT_ENABLE_CLUSTER
|
#ifdef ZT_ENABLE_CLUSTER
|
||||||
if (RR->cluster) {
|
if (RR->cluster) {
|
||||||
bool shouldUnite;
|
bool shouldUnite;
|
||||||
{
|
{
|
||||||
|
@ -228,7 +228,7 @@ void Switch::onRemotePacket(const InetAddress &localAddr,const InetAddress &from
|
||||||
RR->cluster->sendViaCluster(source,destination,packet.data(),packet.size(),shouldUnite);
|
RR->cluster->sendViaCluster(source,destination,packet.data(),packet.size(),shouldUnite);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
relayTo = RR->topology->getBestRoot(&source,1,true);
|
relayTo = RR->topology->getBestRoot(&source,1,true);
|
||||||
if (relayTo)
|
if (relayTo)
|
||||||
|
|
Loading…
Add table
Reference in a new issue