summaryrefslogtreecommitdiff
path: root/node/Peer.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-19 15:19:04 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-19 15:19:04 -0700
commitcfdcce6d1299b4bc407b9b44c0abb55c5ea9f4b5 (patch)
tree3a3df9370ef780ca7b586e13f9b994f8835bb573 /node/Peer.cpp
parent0b2e5ed499aea0076caa2dc1d8784796e54da538 (diff)
downloadinfinitytier-cfdcce6d1299b4bc407b9b44c0abb55c5ea9f4b5.tar.gz
infinitytier-cfdcce6d1299b4bc407b9b44c0abb55c5ea9f4b5.zip
Fix very obscure IP scope classification logic bug.
Diffstat (limited to 'node/Peer.cpp')
-rw-r--r--node/Peer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Peer.cpp b/node/Peer.cpp
index ba6ef4af..6f566be4 100644
--- a/node/Peer.cpp
+++ b/node/Peer.cpp
@@ -203,7 +203,7 @@ bool Peer::doPingAndKeepalive(const RuntimeEnvironment *RR,uint64_t now,int inet
RR->node->putPacket(p->localAddress(),p->address(),&_natKeepaliveBuf,sizeof(_natKeepaliveBuf));
p->sent(now);
} else {
- TRACE("no PING or NAT keepalive: %llums/%llums send/receive inactivity",now - p->lastSend(),now - p->lastReceived());
+ TRACE("no PING or NAT keepalive: addr==%s reliable==%d %llums/%llums send/receive inactivity",p->address().toString().c_str(),(int)p->reliable(),now - p->lastSend(),now - p->lastReceived());
}
return true;
}