summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-01-30 16:23:38 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-01-30 16:23:38 -0800
commit6d5a3cd2e2fe196325cb3ab60dfc368901395977 (patch)
tree88d2bf6a85f9f6e2944080fbb125dddc5ad6c43b
parentf9ad80aa13705102c060bf6b16e62bb2bc3edfff (diff)
downloadinfinitytier-6d5a3cd2e2fe196325cb3ab60dfc368901395977.tar.gz
infinitytier-6d5a3cd2e2fe196325cb3ab60dfc368901395977.zip
Remove debug code. Cluster network config sharing seems to work.
-rw-r--r--node/Cluster.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/node/Cluster.cpp b/node/Cluster.cpp
index 5537782e..56a6a06d 100644
--- a/node/Cluster.cpp
+++ b/node/Cluster.cpp
@@ -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)