diff options
author | Christian Pointner <equinox@anytun.org> | 2008-02-25 18:14:33 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2008-02-25 18:14:33 +0000 |
commit | 381a601abe589e02ed8f2cedfa1b4f948f314631 (patch) | |
tree | 5731d66765533e9284d84ed6a33ca257a2ca58cb /anytun.cpp | |
parent | options is global now (diff) |
bugfix with packet length
Diffstat (limited to 'anytun.cpp')
-rw-r--r-- | anytun.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -147,7 +147,7 @@ void* sender(void* p) encrypted_packet.setLength(MAX_PACKET_LENGTH); // read packet from device u_int32_t len = param->dev.read(plain_packet.getPayload(), plain_packet.getPayloadLength()); - plain_packet.setLength(len); + plain_packet.setPayloadLength(len); std::cout << "plain_packet.getPayloadLength() = " << plain_packet.getPayloadLength() << std::endl; |