summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-07-12 11:40:45 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-07-12 11:40:45 -0700
commit9785fde32aae379c68a1bf3c7a651b064239254f (patch)
treee40760bc473dbf8d5c11c5c6e16cde297cbf05ce
parent96576757552f1b0ce002df3e904419b7bfca62f8 (diff)
downloadinfinitytier-9785fde32aae379c68a1bf3c7a651b064239254f.tar.gz
infinitytier-9785fde32aae379c68a1bf3c7a651b064239254f.zip
Trusted paths work!
-rw-r--r--node/IncomingPacket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/IncomingPacket.cpp b/node/IncomingPacket.cpp
index 6e1eb493..231f0d06 100644
--- a/node/IncomingPacket.cpp
+++ b/node/IncomingPacket.cpp
@@ -54,7 +54,7 @@ bool IncomingPacket::tryDecode(const RuntimeEnvironment *RR,bool deferred)
// packets are dropped on the floor.
if (RR->topology->shouldInboundPathBeTrusted(_remoteAddress,trustedPathId())) {
trusted = true;
- printf("TRUSTED PATH packet from %s(%s), trusted path ID %llx\n",sourceAddress.toString().c_str(),_remoteAddress.toString().c_str(),trustedPathId());
+ TRACE("TRUSTED PATH packet approved from %s(%s), trusted path ID %llx",sourceAddress.toString().c_str(),_remoteAddress.toString().c_str(),trustedPathId());
} else {
TRACE("dropped packet from %s(%s), cipher set to trusted path mode but path %llx@%s is not trusted!",sourceAddress.toString().c_str(),_remoteAddress.toString().c_str(),trustedPathId(),_remoteAddress.toString().c_str());
return true;