mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
fixed build with boost 1.87
This commit is contained in:
@@ -454,9 +454,9 @@ namespace net
|
||||
#ifdef _WIN32
|
||||
LogPrint(eLogError, "NetIface: Cannot get address by interface name, not implemented on WIN32");
|
||||
if (ipv6)
|
||||
return boost::asio::ip::address::from_string("::1");
|
||||
return boost::asio::ip::make_address("::1");
|
||||
else
|
||||
return boost::asio::ip::address::from_string("127.0.0.1");
|
||||
return boost::asio::ip::make_address("127.0.0.1");
|
||||
#else
|
||||
int af = (ipv6 ? AF_INET6 : AF_INET);
|
||||
ifaddrs *addrs;
|
||||
|
||||
Reference in New Issue
Block a user