diff options
-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; |