summaryrefslogtreecommitdiff
path: root/anytun.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'anytun.cpp')
-rw-r--r--anytun.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/anytun.cpp b/anytun.cpp
index 2f78018..82a40bf 100644
--- a/anytun.cpp
+++ b/anytun.cpp
@@ -132,11 +132,11 @@ void* receiver(void* p)
continue;
// autodetect peer
- if(param->opt.getRemoteAddr() == "")
- {
+// if(param->opt.getRemoteAddr() == "")
+// {
param->opt.setRemoteAddrPort(remote_host, remote_port);
cLog.msg(Log::PRIO_NOTICE) << "autodetected remote host " << remote_host << ":" << remote_port;
- }
+// }
sid = pack.getSenderId();
seq = pack.getSeqNr();