summaryrefslogtreecommitdiff
path: root/anytun.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-09 12:00:04 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-09 12:00:04 +0000
commit0be66b3956f8f7f35158d05688ea2b410b122ff4 (patch)
treea3c069ac0ec8a3f80c4e0c34eae7a0a5e9ef7a90 /anytun.cpp
parentno call to keyderivation (diff)
removed some code for debugging
Diffstat (limited to 'anytun.cpp')
-rw-r--r--anytun.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/anytun.cpp b/anytun.cpp
index a3797d9..27cc392 100644
--- a/anytun.cpp
+++ b/anytun.cpp
@@ -182,7 +182,7 @@ void* receiver(void* p)
createConnection(remote_host, remote_port, param->cl,param->opt.getSeqWindowSize());
cLog.msg(Log::PRIO_NOTICE) << "autodetected remote host " << remote_host << ":" << remote_port;
}
- ConnectionParam conn = param->cl.getConnection();
+/* ConnectionParam conn = param->cl.getConnection();
sid = pack.getSenderId();
seq = pack.getSeqNr();
@@ -202,7 +202,7 @@ void* receiver(void* p)
//std::cout << "Received Package: seq: " << seq << std::endl << "sID: " << sid << 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) ||
(param->dev.getType() == TunDevice::TYPE_TAP && pack.getPayloadType() != PAYLOAD_TYPE_TAP))