From 96edb92cb53f5bdfc57c93368583da8675c94e60 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Sun, 9 Dec 2007 12:16:51 +0000 Subject: fixed sender (use connectionParam not option to send packet - fixes dynamic ip detection) --- anytun.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'anytun.cpp') diff --git a/anytun.cpp b/anytun.cpp index b856015..27016aa 100644 --- a/anytun.cpp +++ b/anytun.cpp @@ -135,7 +135,7 @@ void* sender(void* p) // } // // send it out to remote host - param->src.send(pack, param->opt.getRemoteAddr(), param->opt.getRemotePort()); + param->src.send(pack, conn.remote_host_, conn.remote_port_); } pthread_exit(NULL); } -- cgit v1.2.3