summaryrefslogtreecommitdiff
path: root/node/Switch.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-03-27 17:33:25 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-03-27 17:33:25 -0700
commit91c9f4cb205169d0ec151293136aa27d113f2090 (patch)
tree526d87cbc5be7f18892872ab668bcac2cafe6c73 /node/Switch.cpp
parente4896b257fde05a216500804d9bcef3b84b0980e (diff)
downloadinfinitytier-91c9f4cb205169d0ec151293136aa27d113f2090.tar.gz
infinitytier-91c9f4cb205169d0ec151293136aa27d113f2090.zip
Fix TRACE and CLUSTER builds.
Diffstat (limited to 'node/Switch.cpp')
-rw-r--r--node/Switch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp
index 62674472..56299a9a 100644
--- a/node/Switch.cpp
+++ b/node/Switch.cpp
@@ -863,7 +863,7 @@ bool Switch::_trySend(void *tPtr,Packet &packet,bool encrypt)
Packet::Fragment frag(packet,fragStart,chunkSize,fno,totalFragments);
#ifdef ZT_ENABLE_CLUSTER
if (viaPath)
- viaPath->send(RR,frag.data(),frag.size(),now);
+ viaPath->send(RR,tPtr,frag.data(),frag.size(),now);
else if (clusterMostRecentMemberId >= 0)
RR->cluster->sendViaCluster(clusterMostRecentMemberId,destination,frag.data(),frag.size());
#else