From c27c83c05f0bc055cbde66479a9f554348784845 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Mon, 24 Nov 2008 22:13:20 +0000 Subject: fixed sync deletes connection param --- src/connectionParam.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/connectionParam.h b/src/connectionParam.h index 6e6427e..9748a18 100644 --- a/src/connectionParam.h +++ b/src/connectionParam.h @@ -38,6 +38,7 @@ #include "seqWindow.h" #include "threadUtils.hpp" #include "packetSource.h" +#include "log.h" #include #include @@ -68,9 +69,7 @@ private: ar & seq_nr_; ar & remote_host; ar & remote_port; - boost::asio::ip::address addr; - addr.from_string(remote_host); - boost::asio::ip::udp::endpoint endpoint(addr, remote_port); + boost::asio::ip::udp::endpoint endpoint(boost::asio::ip::address::from_string(remote_host), remote_port); remote_end_ = endpoint; } }; -- cgit v1.2.3