From 368efaa2ba68d87eaba3bce2cbc1714b8e04744c Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 19 Apr 2016 12:55:48 -0700 Subject: Kill some old debug code. --- node/Path.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'node/Path.cpp') diff --git a/node/Path.cpp b/node/Path.cpp index b07f2b43..5692af66 100644 --- a/node/Path.cpp +++ b/node/Path.cpp @@ -19,25 +19,11 @@ #include "Path.hpp" #include "RuntimeEnvironment.hpp" #include "Node.hpp" -//#include "Topology.hpp" namespace ZeroTier { bool Path::send(const RuntimeEnvironment *RR,const void *data,unsigned int len,uint64_t now) { - /* - if (len > 13) { - Address zta(reinterpret_cast(data)+8,5); - if ((zta.toInt() == 0x9d219039f3ULL)||(zta.toInt() == 0x8841408a2eULL)) { - printf(">> %s@%s %u ",zta.toString().c_str(),address().toString().c_str(),len); - Packet pcopy(data,len); - SharedPtr rp(RR->topology->getPeer(zta)); - if (pcopy.dearmor(rp->key())) { - printf("%s\n",Packet::verbString(pcopy.verb())); - } else printf("!!!!\n"); - } - } - */ if (RR->node->putPacket(_localAddress,address(),data,len)) { sent(now); return true; -- cgit v1.2.3