summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/anytun-controld.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/anytun-controld.cpp b/src/anytun-controld.cpp
index fa096fc..e074d0c 100644
--- a/src/anytun-controld.cpp
+++ b/src/anytun-controld.cpp
@@ -79,6 +79,7 @@ bool syncListenerInit(boost::asio::io_service& io_service)
SyncServer server(io_service,e);
server.onConnect=boost::bind(syncOnConnect,_1);
+ io_service.run();
}
catch (std::exception& e)
{