summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-06-17 12:46:12 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-06-17 12:46:12 -0700
commit87bb0086deadf3663c3e0ec1308e0d71a6473362 (patch)
tree7dcac4e10f4b988eaf13622dd852917afa167e5d
parent1d0654bd14890cfe09512a708d7628c475fc5fd7 (diff)
downloadinfinitytier-87bb0086deadf3663c3e0ec1308e0d71a6473362.tar.gz
infinitytier-87bb0086deadf3663c3e0ec1308e0d71a6473362.zip
Almost certain fix for GitHub issue #184 on -dev
-rw-r--r--node/IncomingPacket.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node/IncomingPacket.cpp b/node/IncomingPacket.cpp
index 5c83f24f..8f95b9ba 100644
--- a/node/IncomingPacket.cpp
+++ b/node/IncomingPacket.cpp
@@ -689,6 +689,7 @@ bool IncomingPacket::_doNETWORK_CONFIG_REQUEST(const RuntimeEnvironment *RR,cons
outp.append((uint16_t)netconfStr.length());
outp.append(netconfStr.data(),(unsigned int)netconfStr.length());
outp.compress();
+ outp.armor(peer->key(),true);
if (outp.size() > ZT_PROTO_MAX_PACKET_LENGTH) {
TRACE("NETWORK_CONFIG_REQUEST failed: internal error: netconf size %u is too large",(unsigned int)netconfStr.length());
} else {