summaryrefslogtreecommitdiff
path: root/anytun.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2007-09-04 15:19:06 +0000
committerChristian Pointner <equinox@anytun.org>2007-09-04 15:19:06 +0000
commitdd1f104d950551e7dc60b5762a52e51b9411e490 (patch)
tree612b8151fae9690b8e85f4fb925838b83e9f2cf1 /anytun.cpp
parentno dump 2 (diff)
reconnect is now possible
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();