summaryrefslogtreecommitdiff
path: root/anytun.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'anytun.cpp')
-rw-r--r--anytun.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/anytun.cpp b/anytun.cpp
index 0b1123a..ea77b25 100644
--- a/anytun.cpp
+++ b/anytun.cpp
@@ -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) ||