summaryrefslogtreecommitdiff
path: root/anytun.cpp
diff options
context:
space:
mode:
authorErwin Nindl <nine@wirdorange.org>2007-08-28 23:47:38 +0000
committerErwin Nindl <nine@wirdorange.org>2007-08-28 23:47:38 +0000
commitb0b58671e759df8e36ef2078fde4a270fab8d5bc (patch)
tree757f1f42c0383d8b5efd9b08ad096e3a7f114e3f /anytun.cpp
parentdebug messages added (diff)
yet another debug message
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) ||