forked from premiere/premiere-libtorrent
geo ip fix in client_test
This commit is contained in:
parent
3d59e6e7e9
commit
0550363b85
|
@ -993,7 +993,11 @@ int main(int ac, char* av[])
|
||||||
for (std::vector<peer_list_entry>::iterator k = peers.begin()
|
for (std::vector<peer_list_entry>::iterator k = peers.begin()
|
||||||
, end(peers.end()); k != end; ++k)
|
, end(peers.end()); k != end; ++k)
|
||||||
{
|
{
|
||||||
f << k->ip.address() << "\t" << ses.as_for_ip(k->ip.address()) << std::endl;
|
f << k->ip.address()
|
||||||
|
#ifndef TORRENT_DISABLE_GEO_IP
|
||||||
|
<< "\t" << ses.as_for_ip(k->ip.address())
|
||||||
|
#endif
|
||||||
|
<< std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue