summaryrefslogtreecommitdiff
path: root/anytun.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'anytun.cpp')
-rw-r--r--anytun.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/anytun.cpp b/anytun.cpp
index 1a05b88..8924697 100644
--- a/anytun.cpp
+++ b/anytun.cpp
@@ -64,7 +64,7 @@ void* sender(void* p)
seq_nr_t seq = 0;
while(1)
{
- Packet pack(1600);
+ Packet pack(1600); // fix me... mtu size
// read packet from device
int len = param->dev.read(pack);
@@ -105,7 +105,8 @@ void* receiver(void* p)
{
string remote_host;
u_int16_t remote_port;
- Packet pack(1600);
+ Packet pack(1600); // fix me... mtu size
+
// read packet from socket
u_int32_t len = param->src.recv(pack, remote_host, remote_port);
pack.resizeBack(len);