summaryrefslogtreecommitdiff
path: root/node/Packet.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-04-19 09:22:51 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-04-19 09:22:51 -0700
commit4c455876f92c629b015cbfc6d904dc8c2d12eca2 (patch)
treee3ac6cec45bc6f3d0576fb8e5eb62557716d1da9 /node/Packet.cpp
parentcecfa99b7bf13b8231a5a8141e723b57a8e5e3cd (diff)
downloadinfinitytier-4c455876f92c629b015cbfc6d904dc8c2d12eca2.tar.gz
infinitytier-4c455876f92c629b015cbfc6d904dc8c2d12eca2.zip
Revise peer path weighting to always prioritize cluster-optimal paths.
Diffstat (limited to 'node/Packet.cpp')
-rw-r--r--node/Packet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Packet.cpp b/node/Packet.cpp
index dae9ef5a..3330a927 100644
--- a/node/Packet.cpp
+++ b/node/Packet.cpp
@@ -22,7 +22,7 @@ namespace ZeroTier {
const unsigned char Packet::ZERO_KEY[32] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 };
-#ifdef ZT_TRACE
+//#ifdef ZT_TRACE
const char *Packet::verbString(Verb v)
throw()
@@ -68,7 +68,7 @@ const char *Packet::errorString(ErrorCode e)
return "(unknown)";
}
-#endif // ZT_TRACE
+//#endif // ZT_TRACE
void Packet::armor(const void *key,bool encryptPayload)
{