summaryrefslogtreecommitdiff
path: root/node/RemotePath.hpp
diff options
context:
space:
mode:
authorGrant Limberg <glimberg@gmail.com>2015-07-16 18:09:57 -0700
committerGrant Limberg <glimberg@gmail.com>2015-07-16 18:09:57 -0700
commit1e8ead441c90b731573d7949152643e0082bdb2e (patch)
tree80f15238fc0b3543f880bcd03564fe6e2ee95731 /node/RemotePath.hpp
parente45475c5b5bcee4fb88e797a50eb38b6ad3d6923 (diff)
parent0db7c94c9004ac488b6163905d80f7515141d9c6 (diff)
downloadinfinitytier-1e8ead441c90b731573d7949152643e0082bdb2e.tar.gz
infinitytier-1e8ead441c90b731573d7949152643e0082bdb2e.zip
Merge branch 'adamierymenko-dev' into android-jni
Diffstat (limited to 'node/RemotePath.hpp')
-rw-r--r--node/RemotePath.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/RemotePath.hpp b/node/RemotePath.hpp
index 5592c8e1..291943c9 100644
--- a/node/RemotePath.hpp
+++ b/node/RemotePath.hpp
@@ -56,7 +56,7 @@ public:
_fixed(false) {}
RemotePath(const InetAddress &addr,bool fixed) :
- Path(addr,0,TRUST_NORMAL,false),
+ Path(addr,0,TRUST_NORMAL),
_lastSend(0),
_lastReceived(0),
_fixed(fixed) {}
@@ -123,7 +123,7 @@ public:
*/
inline bool send(const RuntimeEnvironment *RR,const void *data,unsigned int len,uint64_t now)
{
- if (RR->node->putPacket(_addr,data,len)) {
+ if (RR->node->putPacket(address(),data,len)) {
sent(now);
RR->antiRec->logOutgoingZT(data,len);
return true;