aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee
diff options
context:
space:
mode:
authorJethro Grassie <jtg@xtrabass.com>2019-08-20 01:06:59 -0400
committerJethro Grassie <jtg@xtrabass.com>2019-08-20 01:06:59 -0400
commit30779de39dda848e0e5a8750b38283e146f30132 (patch)
tree8d47dca0e564ab7cf90b68b3afdf98676a9c6483 /contrib/epee
parentMerge pull request #5636 (diff)
downloadmonero-30779de39dda848e0e5a8750b38283e146f30132.tar.xz
fix feature not introduced until boost 1.66
Diffstat (limited to 'contrib/epee')
-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();