diff options
author | Erwin Nindl <nine@wirdorange.org> | 2007-08-28 23:47:38 +0000 |
---|---|---|
committer | Erwin Nindl <nine@wirdorange.org> | 2007-08-28 23:47:38 +0000 |
commit | b0b58671e759df8e36ef2078fde4a270fab8d5bc (patch) | |
tree | 757f1f42c0383d8b5efd9b08ad096e3a7f114e3f /anytun.cpp | |
parent | debug messages added (diff) |
yet another debug message
Diffstat (limited to 'anytun.cpp')
-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) || |