A few other little formatting things.

This commit is contained in:
Adam Ierymenko 2016-03-18 15:06:45 -07:00
parent c589bc4c57
commit 76f9b4c582

View file

@ -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)