On Thu, Mar 17, 2011 at 06:50:18PM -0300, Rogério Brito wrote:
>> (If so, which version of them?)
> The one that I grabbed from rtorrent's ticket system (one for rtorrent and
> another for libtorrent). Both are named with the suffix: <-ipv6-08.patch>.

FWIW, the -08 version does not come from me. It appears to be broken.
In particular, it's removed this hunk:

diff -Nur libtorrent-0.12.6.orig/src/dht/dht_node.cc 
libtorrent-0.12.6/src/dht/dht_node.cc
--- libtorrent-0.12.6.orig/src/dht/dht_node.cc  2009-11-12 09:03:50.000000000 
+0100
+++ libtorrent-0.12.6/src/dht/dht_node.cc       2010-07-23 14:44:51.000000000 
+0200
@@ -55,8 +55,15 @@
   m_recentlyInactive(0),
   m_bucket(NULL) {

+#ifdef RAK_USE_INET6
+  if (sa->family() != rak::socket_address::af_inet &&
+      (sa->family() != rak::socket_address::af_inet6 || 
+       !sa->sa_inet6()->is_any()))
+    throw resource_error("Address not af_inet or in6addr_any");
+#else
   if (sa->family() != rak::socket_address::af_inet)
     throw resource_error("Address not af_inet");
+#endif
 }

 DhtNode::DhtNode(const std::string& id, const Object& cache) :

which is essential to get DHT to work.

I'd probably do an interdiff with between the two versions if I were you; 
I have no idea what other errors may have been introduced. :-)

/* Steinar */
-- 
Homepage: http://www.sesse.net/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to