summaryrefslogtreecommitdiff
path: root/anytun.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2007-06-22 16:49:55 +0000
committerChristian Pointner <equinox@anytun.org>2007-06-22 16:49:55 +0000
commit7ca7a28a058b6644913f6e50eb944d657246ada0 (patch)
tree92ff77371cbcc98a0aa1149700f4d17f10b026fb /anytun.cpp
parentbroken makefile fixed (diff)
seqWindow test
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);