diff options
-rw-r--r-- | anytun.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -91,6 +91,7 @@ void* sender(void* p) param->c.setSalt(tmp_salt); std::cout << "Send Package: seq: " << seq << std::endl << "sID: " << param->opt.getSenderId() << std::endl; + std::cout << "Package dump: " << pack.getBuf() << std::endl; param->c.cypher(pack, seq, param->opt.getSenderId()); @@ -150,6 +151,7 @@ void* receiver(void* p) param->c.cypher(pack, pack.getSeqNr(), pack.getSenderId()); std::cout << "Received Package: seq: " << pack.getSeqNr() << std::endl << "sID: " << pack.getSenderId() << std::endl; + std::cout << "Package dump: " << pack.getBuf() << std::endl; // check payload_type and remove it if((param->dev.getType() == TunDevice::TYPE_TUN && pack.getPayloadType() != PAYLOAD_TYPE_TUN) || |