mirror of
https://github.com/monero-project/monero.git
synced 2026-01-08 03:11:00 -08:00
fix feature not introduced until boost 1.66
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user