Merge pull request #5827

30779de fix feature not introduced until boost 1.66 (jtgrassie)
This commit is contained in:
luigi1111 2019-08-21 15:54:10 -05:00
commit cdfa2e58df
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ namespace epee
inline
bool is_ipv6_local(const std::string& ip)
{
auto addr = boost::asio::ip::make_address_v6(ip);
auto addr = boost::asio::ip::address_v6::from_string(ip);
// ipv6 link-local unicast addresses are fe80::/10
bool is_link_local = addr.is_link_local();