diff options
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/util.cpp | 2 |
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; |
