diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-19 15:19:04 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-19 15:19:04 -0700 |
commit | cfdcce6d1299b4bc407b9b44c0abb55c5ea9f4b5 (patch) | |
tree | 3a3df9370ef780ca7b586e13f9b994f8835bb573 /node/Peer.cpp | |
parent | 0b2e5ed499aea0076caa2dc1d8784796e54da538 (diff) | |
download | infinitytier-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.cpp | 2 |
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; } |