summaryrefslogtreecommitdiff
path: root/node/Path.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-01-06 10:59:39 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-01-06 10:59:39 -0800
commit9aee72099e518636acb243237042049c50dcf483 (patch)
tree5e7cb59455e0a55021957d46b1189ca404b166f4 /node/Path.cpp
parent05b2c0743f1733d2725266ad3249496ed09383a5 (diff)
downloadinfinitytier-9aee72099e518636acb243237042049c50dcf483.tar.gz
infinitytier-9aee72099e518636acb243237042049c50dcf483.zip
AntiRecursion cleanup and some other minor things.
Diffstat (limited to 'node/Path.cpp')
-rw-r--r--node/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Path.cpp b/node/Path.cpp
index e2475751..c67352de 100644
--- a/node/Path.cpp
+++ b/node/Path.cpp
@@ -34,9 +34,9 @@ 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);
- RR->antiRec->logOutgoingZT(data,len);
return true;
}
return false;