summaryrefslogtreecommitdiff
path: root/node/PacketDecoder.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-04-01 18:39:10 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-04-01 18:39:10 -0700
commit700a450806263f035f7b1266d5f63c5934461e97 (patch)
tree07d7d69299f3f14a4129532e2b126999b89bb653 /node/PacketDecoder.cpp
parent0e1fc06a6f3b5c7aaa06ba370f85337176ae8a85 (diff)
downloadinfinitytier-700a450806263f035f7b1266d5f63c5934461e97.tar.gz
infinitytier-700a450806263f035f7b1266d5f63c5934461e97.zip
More tweaks to algorithm for determining when to fail over to TCP, and stop supernodes from resynchronizing unless explicitly ordered.
Diffstat (limited to 'node/PacketDecoder.cpp')
-rw-r--r--node/PacketDecoder.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node/PacketDecoder.cpp b/node/PacketDecoder.cpp
index 2b8cba51..c7d3ffda 100644
--- a/node/PacketDecoder.cpp
+++ b/node/PacketDecoder.cpp
@@ -490,6 +490,7 @@ bool PacketDecoder::_doMULTICAST_FRAME(const RuntimeEnvironment *_r,const Shared
const unsigned int signatureLen = at<uint16_t>(ZT_PROTO_VERB_MULTICAST_FRAME_IDX_FRAME + frameLen);
const unsigned char *const signature = field(ZT_PROTO_VERB_MULTICAST_FRAME_IDX_FRAME + frameLen + 2,signatureLen);
+ /*
TRACE("MULTICAST_FRAME @%.16llx #%.16llx from %s<%s> via %s(%s) to %s [ %s, %d bytes, depth %d ]",
(unsigned long long)nwid,
(unsigned long long)guid,
@@ -499,6 +500,7 @@ bool PacketDecoder::_doMULTICAST_FRAME(const RuntimeEnvironment *_r,const Shared
Switch::etherTypeName(etherType),
(int)frameLen,
(int)depth);
+ */
SharedPtr<Network> network(_r->nc->network(nwid));