mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 03:56:54 +02:00
Remove debug code. Cluster network config sharing seems to work.
This commit is contained in:
parent
f9ad80aa13
commit
6d5a3cd2e2
1 changed files with 0 additions and 2 deletions
|
@ -476,7 +476,6 @@ void Cluster::handleIncomingStateMessage(const void *msg,unsigned int len)
|
|||
if (network) {
|
||||
// Copy into a Packet just to conform to Network API. Eventually
|
||||
// will want to refactor.
|
||||
printf("<< CLUSTER_MESSAGE_NETWORK_CONFIG %.16llx\n",dmsg.at<uint64_t>(ptr));
|
||||
network->handleConfigChunk(0,Address(),Buffer<ZT_PROTO_MAX_PACKET_LENGTH>(dmsg),ptr);
|
||||
}
|
||||
} break;
|
||||
|
@ -512,7 +511,6 @@ void Cluster::broadcastNetworkConfigChunk(const void *chunk,unsigned int len)
|
|||
Mutex::Lock _l2(_members[*mid].lock);
|
||||
_send(*mid,CLUSTER_MESSAGE_NETWORK_CONFIG,chunk,len);
|
||||
}
|
||||
printf(">> CLUSTER_MESSAGE_NETWORK_CONFIG\n");
|
||||
}
|
||||
|
||||
void Cluster::sendViaCluster(const Address &fromPeerAddress,const Address &toPeerAddress,const void *data,unsigned int len,bool unite)
|
||||
|
|
Loading…
Add table
Reference in a new issue