From 01bcd52924244ec8d2a24c10fcef8959289d09ff Mon Sep 17 00:00:00 2001 From: Lee *!* Clagett Date: Tue, 17 Dec 2024 16:40:15 -0500 Subject: Fix build with boost ASIO 0.87. Support boost 1.66+ --- src/common/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/util.cpp') diff --git a/src/common/util.cpp b/src/common/util.cpp index a60c79d3a..f3b39fe43 100644 --- a/src/common/util.cpp +++ b/src/common/util.cpp @@ -936,7 +936,7 @@ std::string get_nix_version_display_string() } boost::system::error_code ec; - const auto parsed_ip = boost::asio::ip::address::from_string(u_c.host, ec); + const auto parsed_ip = boost::asio::ip::make_address(u_c.host, ec); if (ec) { MDEBUG("Failed to parse '" << address << "' as IP address: " << ec.message() << ". Considering it not local"); return false; -- cgit v1.2.3