summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-12-21 18:35:45 +0000
committerOthmar Gsenger <otti@anytun.org>2008-12-21 18:35:45 +0000
commitca42b0cf62c305102708698455f7c5e54377fac2 (patch)
tree2972edad6a45a48972b6b846c7a0dff7b9dab59a
parentadded ipv6 routing support (diff)
fixed anytun-controld (io service run)
parameter parser is broken ( -X 127.0.0.1:2323 doesn't work)
-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)
{