Don't store 0.0.0.0 for i2p peers in resume data

This commit is contained in:
Mikhail Titov 2015-07-14 14:12:23 -05:00
parent 9c489e2291
commit 2751d90368
1 changed files with 2 additions and 0 deletions

View File

@ -7071,6 +7071,8 @@ namespace libtorrent
error_code ec;
torrent_peer const* p = *i;
address addr = p->address();
if (p->is_i2p_addr)
continue;
if (p->banned)
{
#if TORRENT_USE_IPV6