Remove somewhat ugly and costly anti-recursion hack -- we will switch to more explicit methods.

This commit is contained in:
Adam Ierymenko 2016-01-11 09:06:10 -08:00
parent a56fbc1929
commit 1023ef23b7
7 changed files with 0 additions and 175 deletions

View file

@ -26,7 +26,6 @@
*/
#include "Path.hpp"
#include "AntiRecursion.hpp"
#include "RuntimeEnvironment.hpp"
#include "Node.hpp"
@ -34,7 +33,6 @@ namespace ZeroTier {
bool Path::send(const RuntimeEnvironment *RR,const void *data,unsigned int len,uint64_t now)
{
RR->antiRec->logOutgoingZT(data,len);
if (RR->node->putPacket(_localAddress,address(),data,len)) {
sent(now);
return true;