diff options
-rw-r--r-- | src/anytun-controld.cpp | 2 | ||||
-rw-r--r-- | src/options.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/anytun-controld.cpp b/src/anytun-controld.cpp index e02f8e7..7f481c2 100644 --- a/src/anytun-controld.cpp +++ b/src/anytun-controld.cpp @@ -77,7 +77,7 @@ void syncListener(void* p ) try { - asio::io_service io_service; + boost::asio::io_service io_service; SyncServer server(io_service,asio::ip::tcp::endpoint(asio::ip::tcp::v6(), param->port)); server.onConnect=boost::bind(syncOnConnect,_1); io_service.run(); diff --git a/src/options.h b/src/options.h index d7e73f9..98210b1 100644 --- a/src/options.h +++ b/src/options.h @@ -37,11 +37,11 @@ #include "threadUtils.hpp" #include <list> -typedef struct OptionConnectTo +typedef struct { std::string host; uint16_t port; -}; +} OptionConnectTo; typedef std::list<OptionConnectTo> ConnectToList; |