diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-07-18 13:57:37 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-07-18 13:57:37 -0700 |
commit | 727ccb112543f3c44da3d094fa755e3a5d25cc3e (patch) | |
tree | a4902c18dd1323933089e63c2b8ede852dff5179 /node/IncomingPacket.cpp | |
parent | 77ce2384578d96780737e6bfa2265ee94946eae6 (diff) | |
download | infinitytier-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.cpp | 2 |
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; } |