diff options
Diffstat (limited to 'src/anytun-config.cpp')
-rw-r--r-- | src/anytun-config.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/anytun-config.cpp b/src/anytun-config.cpp index 9ac9321..7a1e9b1 100644 --- a/src/anytun-config.cpp +++ b/src/anytun-config.cpp @@ -100,12 +100,12 @@ int main(int argc, char* argv[]) ConnectionList cl; SyncQueue queue; - boost::asio::ip::udp::endpoint endpoint; + UDPPacketSource::proto::endpoint endpoint; if (gOpt.getRemoteAddr()!="" && gOpt.getRemotePort()!="") { boost::asio::io_service io_service; - boost::asio::ip::udp::resolver resolver(io_service); - boost::asio::ip::udp::resolver::query query(gOpt.getRemoteAddr(), gOpt.getRemotePort()); + UDPPacketSource::proto::resolver resolver(io_service); + UDPPacketSource::proto::resolver::query query(gOpt.getRemoteAddr(), gOpt.getRemotePort()); endpoint = *resolver.resolve(query); } createConnection(endpoint,cl,gOpt.getSeqWindowSize(), queue, gOpt.getMux()); |