From 69e024931721b00b32cd586bacf20d2ed85cbdc9 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 15 Feb 2010 07:52:32 +0000 Subject: [PATCH] don't lookup country for local IPs --- src/torrent.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/torrent.cpp b/src/torrent.cpp index ae40ee9d4..70c310e1b 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -3424,6 +3424,7 @@ namespace libtorrent void torrent::resolve_peer_country(boost::intrusive_ptr const& p) const { if (m_resolving_country + || is_local(p->remote().address()) || p->has_country() || p->is_connecting() || p->is_queued()