diff options
Diffstat (limited to 'node/Network.cpp')
| -rw-r--r-- | node/Network.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Network.cpp b/node/Network.cpp index 320dcf39..c5855418 100644 --- a/node/Network.cpp +++ b/node/Network.cpp @@ -974,7 +974,7 @@ uint64_t Network::handleConfigChunk(const uint64_t packetId,const Address &sourc } #ifdef ZT_ENABLE_CLUSTER - if (source) + if ((source)&&(RR->cluster)) RR->cluster->broadcastNetworkConfigChunk(chunk.field(start,chunk.size() - start),chunk.size() - start); #endif @@ -1007,7 +1007,7 @@ uint64_t Network::handleConfigChunk(const uint64_t packetId,const Address &sourc } #ifdef ZT_ENABLE_CLUSTER - if (source) + if ((source)&&(RR->cluster)) RR->cluster->broadcastNetworkConfigChunk(chunk.field(start,chunk.size() - start),chunk.size() - start); #endif } else { |
