summaryrefslogtreecommitdiff
path: root/src/anytun-controld.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/anytun-controld.cpp')
-rw-r--r--src/anytun-controld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/anytun-controld.cpp b/src/anytun-controld.cpp
index 5c5fbcc..f869553 100644
--- a/src/anytun-controld.cpp
+++ b/src/anytun-controld.cpp
@@ -78,7 +78,7 @@ void syncListener(void* p )
try
{
boost::asio::io_service io_service;
- SyncServer server(io_service,boost::asio::ip::tcp::endpoint(boost::asio::ip::tcp::v6(), param->port));
+ SyncServer server(io_service, SyncTcpConnection::proto::endpoint(SyncTcpConnection::proto::v6(), param->port));
server.onConnect=boost::bind(syncOnConnect,_1);
io_service.run();
}