summaryrefslogtreecommitdiff
path: root/anytun.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-13 12:56:50 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-13 12:56:50 +0000
commitcf7d42e10e3a2025df7857e180c07fcea404a05d (patch)
tree809e1c43e22d2fffc2210a3ae091a25a1342c5df /anytun.cpp
parentcodechanges in sha1authalgo (diff)
splitten SyncSocket to SyncSocket and SyncClientSocket
Diffstat (limited to 'anytun.cpp')
-rw-r--r--anytun.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/anytun.cpp b/anytun.cpp
index f853b9c..d9c7b1e 100644
--- a/anytun.cpp
+++ b/anytun.cpp
@@ -53,6 +53,7 @@
#include "syncListenSocket.h"
#include "syncSocket.h"
+#include "syncClientSocket.h"
#define PAYLOAD_TYPE_TAP 0x6558
#define PAYLOAD_TYPE_TUN 0x0800
@@ -221,7 +222,7 @@ void* syncConnector(void* p )
Param* param = reinterpret_cast<Param*>(p);
SocketHandler h;
- SyncSocket sock(h,param->cl);
+ SyncClientSocket sock(h,param->cl);
// sock.EnableSSL();
sock.Open( param->opt.getRemoteSyncAddr(), param->opt.getRemoteSyncPort());
h.Add(&sock);