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
1 changed files with 3 additions and 1 deletions

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();