From f9ad80aa13705102c060bf6b16e62bb2bc3edfff Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 30 Jan 2017 16:15:47 -0800 Subject: [PATCH] . --- node/Cluster.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/node/Cluster.cpp b/node/Cluster.cpp index b9359dc6d..5537782e4 100644 --- a/node/Cluster.cpp +++ b/node/Cluster.cpp @@ -476,7 +476,8 @@ 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. - network->handleConfigChunk(0,Address(),Packet(dmsg),ptr); + printf("<< CLUSTER_MESSAGE_NETWORK_CONFIG %.16llx\n",dmsg.at(ptr)); + network->handleConfigChunk(0,Address(),Buffer(dmsg),ptr); } } break; } @@ -511,6 +512,7 @@ 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)