fix i2p=off build

This commit is contained in:
Andrei Kurushin 2016-11-15 20:18:11 +03:00 committed by Arvid Norberg
parent 13f9c11078
commit c4f1a928a4
1 changed files with 2 additions and 0 deletions

View File

@ -6325,8 +6325,10 @@ namespace libtorrent
{
error_code ec;
address addr = p->address();
#if TORRENT_USE_I2P
if (p->is_i2p_addr)
continue;
#endif
if (p->banned)
{
#if TORRENT_USE_IPV6