aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-08-21 15:54:10 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-08-21 15:54:10 -0500
commitcdfa2e58df010d1e11e5081140506af8de0fa18e (patch)
tree4eb5c2faff881e6f37193fe5428c0a6b3ea767c3 /contrib
parentMerge pull request #5817 (diff)
parentfix feature not introduced until boost 1.66 (diff)
downloadmonero-cdfa2e58df010d1e11e5081140506af8de0fa18e.tar.xz
Merge pull request #5827
30779de fix feature not introduced until boost 1.66 (jtgrassie)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/epee/include/net/local_ip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/net/local_ip.h b/contrib/epee/include/net/local_ip.h
index 7523f9d81..ce74e1cd3 100644
--- a/contrib/epee/include/net/local_ip.h
+++ b/contrib/epee/include/net/local_ip.h
@@ -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();