From 87bb0086deadf3663c3e0ec1308e0d71a6473362 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 17 Jun 2015 12:46:12 -0700 Subject: [PATCH] Almost certain fix for GitHub issue #184 on -dev --- node/IncomingPacket.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/node/IncomingPacket.cpp b/node/IncomingPacket.cpp index 5c83f24f4..8f95b9bad 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 {