summaryrefslogtreecommitdiff
path: root/node/IncomingPacket.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-07-18 13:57:37 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-07-18 13:57:37 -0700
commit727ccb112543f3c44da3d094fa755e3a5d25cc3e (patch)
treea4902c18dd1323933089e63c2b8ede852dff5179 /node/IncomingPacket.cpp
parent77ce2384578d96780737e6bfa2265ee94946eae6 (diff)
downloadinfinitytier-727ccb112543f3c44da3d094fa755e3a5d25cc3e.tar.gz
infinitytier-727ccb112543f3c44da3d094fa755e3a5d25cc3e.zip
Cleanup and stdin/stdout harness mode for controller.
Diffstat (limited to 'node/IncomingPacket.cpp')
-rw-r--r--node/IncomingPacket.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/node/IncomingPacket.cpp b/node/IncomingPacket.cpp
index 51955bf3..e5e10476 100644
--- a/node/IncomingPacket.cpp
+++ b/node/IncomingPacket.cpp
@@ -81,14 +81,12 @@ bool IncomingPacket::tryDecode(const RuntimeEnvironment *RR,void *tPtr)
if (peer) {
if (!trusted) {
if (!dearmor(peer->key())) {
- //fprintf(stderr,"dropped packet from %s(%s), MAC authentication failed (size: %u)" ZT_EOL_S,sourceAddress.toString().c_str(),_path->address().toString().c_str(),size());
RR->t->incomingPacketMessageAuthenticationFailure(tPtr,_path,packetId(),sourceAddress,hops());
return true;
}
}
if (!uncompress()) {
- //fprintf(stderr,"dropped packet from %s(%s), compressed data invalid (size %u, verb may be %u)" ZT_EOL_S,sourceAddress.toString().c_str(),_path->address().toString().c_str(),size(),(unsigned int)verb());
RR->t->incomingPacketInvalid(tPtr,_path,packetId(),sourceAddress,hops(),Packet::VERB_NOP,"LZ4 decompression failed");
return true;
}