summaryrefslogtreecommitdiff
path: root/anytun.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-09 12:16:51 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-09 12:16:51 +0000
commit96edb92cb53f5bdfc57c93368583da8675c94e60 (patch)
tree66412a553b747c943e8a3bb08d6102ecf36c7a91 /anytun.cpp
parentremoved some code in sender (crypto) (diff)
fixed sender (use connectionParam not option to send packet - fixes dynamic ip detection)
Diffstat (limited to 'anytun.cpp')
-rw-r--r--anytun.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}