diff options
author | Othmar Gsenger <otti@anytun.org> | 2007-12-09 12:00:04 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2007-12-09 12:00:04 +0000 |
commit | 0be66b3956f8f7f35158d05688ea2b410b122ff4 (patch) | |
tree | a3c069ac0ec8a3f80c4e0c34eae7a0a5e9ef7a90 | |
parent | no call to keyderivation (diff) |
removed some code for debugging
-rw-r--r-- | anytun.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) |