From c52a56ee41bc56ab44b88bc00578bfd427e479f0 Mon Sep 17 00:00:00 2001 From: Erwin Nindl Date: Wed, 29 Aug 2007 00:13:43 +0000 Subject: yet another debug checkin --- anytun.cpp | 2 +- cypher.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/anytun.cpp b/anytun.cpp index 2edf026..11bfcb9 100644 --- a/anytun.cpp +++ b/anytun.cpp @@ -155,7 +155,7 @@ void* receiver(void* p) param->c.cypher(pack, seq, sid); std::cout << "Received Package: seq: " << seq << std::endl << "sID: " << sid << std::endl; - std::cout << "Package dump: " << seq << 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) || diff --git a/cypher.cpp b/cypher.cpp index 66433a6..6ad656b 100644 --- a/cypher.cpp +++ b/cypher.cpp @@ -42,7 +42,6 @@ extern "C" { void Cypher::cypher(Buffer& buf, seq_nr_t seq_nr, sender_id_t sender_id) { - std::cout << "Cypher::cypher called" << std::endl; Buffer stream = getBitStream(buf.getLength(), seq_nr, sender_id); exor(buf, stream); } @@ -89,7 +88,6 @@ Buffer AesIcmCypher::getBitStream(u_int32_t length, seq_nr_t seq_nr, sender_id_t v128_set_to_zero(&seq); v128_set_to_zero(&salt); - std::cout << "AesIcmCypher::getBitStream called" << std::endl; // allocate cipher // FIXXME: why we do not can do this??? // status = cipher_type_alloc(&aes_icm, &cipher, key_.getLength()); -- cgit v1.2.3