aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.cpp
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2025-02-15 04:48:18 +0000
committertobtoht <tob@featherwallet.org>2025-02-15 04:48:18 +0000
commitbe0efaf7f6a97d437381b7988f6dfcedb89cb4af (patch)
tree7aa82581901a978c3c7ba3b0f50ac8c84f753945 /src/common/util.cpp
parent23a11d851adef30aea1888da0a7dd23936c81ec1 (diff)
parent01bcd52924244ec8d2a24c10fcef8959289d09ff (diff)
downloadmonzero-core-be0efaf7f6a97d437381b7988f6dfcedb89cb4af.tar.gz
monzero-core-be0efaf7f6a97d437381b7988f6dfcedb89cb4af.tar.xz
monzero-core-be0efaf7f6a97d437381b7988f6dfcedb89cb4af.zip
Merge pull request #9800
01bcd5292 Fix build with boost ASIO 0.87. Support boost 1.66+ (Lee *!* Clagett)
Diffstat (limited to 'src/common/util.cpp')
-rw-r--r--src/common/util.cpp2
1 files changed, 1 insertions, 1 deletions
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;