summaryrefslogtreecommitdiff
path: root/anytun.cpp
diff options
context:
space:
mode:
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);
}