merged change from RC_0_16
This commit is contained in:
@@ -68,7 +68,9 @@ namespace libtorrent
|
|||||||
#if TORRENT_USE_IPV6
|
#if TORRENT_USE_IPV6
|
||||||
if (a.is_v6())
|
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
|
#endif
|
||||||
address_v4 a4 = a.to_v4();
|
address_v4 a4 = a.to_v4();
|
||||||
|
Reference in New Issue
Block a user