From 30779de39dda848e0e5a8750b38283e146f30132 Mon Sep 17 00:00:00 2001 From: Jethro Grassie Date: Tue, 20 Aug 2019 01:06:59 -0400 Subject: fix feature not introduced until boost 1.66 --- src/net/parse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/parse.cpp') diff --git a/src/net/parse.cpp b/src/net/parse.cpp index 7b74f2b75..ce580afe7 100644 --- a/src/net/parse.cpp +++ b/src/net/parse.cpp @@ -76,7 +76,7 @@ namespace net return i2p_address::make(address, default_port); boost::system::error_code ec; - boost::asio::ip::address_v6 v6 = boost::asio::ip::make_address_v6(host_str, ec); + boost::asio::ip::address_v6 v6 = boost::asio::ip::address_v6::from_string(host_str, ec); ipv6 = !ec; std::uint16_t port = default_port; -- cgit v1.2.3