From 97d40fa80b08194c043a64d2352ca2cbc9be2873 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 24 Feb 2008 00:07:01 +0000 Subject: bugfix@ sender and receiver reset packet size at begin of loop bugfix@ keyDerivation key_derivation_rate --- tunDevice.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tunDevice.h') diff --git a/tunDevice.h b/tunDevice.h index 7e4493c..af08132 100644 --- a/tunDevice.h +++ b/tunDevice.h @@ -48,8 +48,8 @@ public: void close(); bool isOpen(); - short read(Buffer& buf); - int write(Buffer& buf); + short read(u_int8_t* buf, u_int32_t len); + int write(u_int8_t* buf, u_int32_t len); char* getActualName(); u_int32_t getType(); -- cgit v1.2.3