summaryrefslogtreecommitdiff
path: root/node/Peer.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/Peer.cpp
parente4896b257fde05a216500804d9bcef3b84b0980e (diff)
downloadinfinitytier-91c9f4cb205169d0ec151293136aa27d113f2090.tar.gz
infinitytier-91c9f4cb205169d0ec151293136aa27d113f2090.zip
Fix TRACE and CLUSTER builds.
Diffstat (limited to 'node/Peer.cpp')
-rw-r--r--node/Peer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Peer.cpp b/node/Peer.cpp
index 0cc23e33..0795a6ea 100644
--- a/node/Peer.cpp
+++ b/node/Peer.cpp
@@ -103,7 +103,7 @@ void Peer::received(
}
outp.append((uint16_t)redirectTo.port());
outp.armor(_key,true,path->nextOutgoingCounter());
- path->send(RR,outp.data(),outp.size(),now);
+ path->send(RR,tPtr,outp.data(),outp.size(),now);
} else {
// For older peers we use RENDEZVOUS to coax them into contacting us elsewhere.
Packet outp(_id.address(),RR->identity.address(),Packet::VERB_RENDEZVOUS);
@@ -118,7 +118,7 @@ void Peer::received(
outp.append(redirectTo.rawIpData(),16);
}
outp.armor(_key,true,path->nextOutgoingCounter());
- path->send(RR,outp.data(),outp.size(),now);
+ path->send(RR,tPtr,outp.data(),outp.size(),now);
}
suboptimalPath = true;
}