From b0b58671e759df8e36ef2078fde4a270fab8d5bc Mon Sep 17 00:00:00 2001 From: Erwin Nindl Date: Tue, 28 Aug 2007 23:47:38 +0000 Subject: yet another debug message --- anytun.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'anytun.cpp') 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) || -- cgit v1.2.3