merged change from RC_0_16

This commit is contained in:
Arvid Norberg
2013-10-01 17:35:39 +00:00
parent 6dcac0a33f
commit 422251ad3d

View File

@@ -68,7 +68,9 @@ namespace libtorrent
#if TORRENT_USE_IPV6
if (a.is_v6())
{
return a.to_v6() == address_v6::loopback();
return a.to_v6().is_loopback()
|| a.to_v6().is_link_local()
|| a.to_v6().is_multicast_link_local();
}
#endif
address_v4 a4 = a.to_v4();