summaryrefslogtreecommitdiff
path: root/node/Peer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Peer.cpp')
-rw-r--r--node/Peer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node/Peer.cpp b/node/Peer.cpp
index 5c87275f..3aeb821e 100644
--- a/node/Peer.cpp
+++ b/node/Peer.cpp
@@ -27,6 +27,7 @@
#include "Peer.hpp"
#include "Switch.hpp"
+#include "AntiRecursion.hpp"
#include <algorithm>
@@ -164,6 +165,7 @@ Path::Type Peer::send(const RuntimeEnvironment *_r,const void *data,unsigned int
if ((bestPath)&&(_r->sm->send(bestPath->address(),bestPath->tcp(),bestPath->type() == Path::PATH_TYPE_TCP_OUT,data,len))) {
bestPath->sent(now);
+ _r->antiRec->logOutgoingZT(data,len);
return bestPath->type();
}
return Path::PATH_TYPE_NULL;