diff options
author | Othmar Gsenger <otti@anytun.org> | 2008-01-08 21:01:13 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2008-01-08 21:01:13 +0000 |
commit | e22debbe45f6901127b08939ab93b6002951c6cc (patch) | |
tree | 9b1d07dedae0cd8ed4e26d45ad66b1e9402e2fa0 /anytun.cpp | |
parent | fix in length and nullcypher (still not working) (diff) |
lenght bug partly fixed
Diffstat (limited to 'anytun.cpp')
-rw-r--r-- | anytun.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -145,8 +145,9 @@ void* sender(void* p) // read packet from device u_int32_t len = param->dev.read(plain_packet); +// std::cout << len << std::endl; plain_packet.setLength(len); - packet.setLength( packet.getSize() ); + packet.setLength( len ); if( param->cl.empty()) continue; |