in light of https://github.com/transmission/transmission/issues/782#issuecomment-450852432 should https://salsa.debian.org/debian/transmission/blob/master/debian/patches/patch-vendored-libdht.patch be reverted?
On Mon, Dec 17, 2018 at 12:45 PM Juliusz Chroboczek <j...@irif.fr> wrote: > > Package: transmission-gtk > Version: 2.94-1 > Severity: wishlist > > Hi, > > I've just released libdht version 0.26, which fixes a rather unpleasant > bug. I've filed a bug upstream: > > https://github.com/transmission/transmission/issues/782 > > Since upstream hasn't done a release in a long time, I'm attaching the bug > fix, in case you wish to patch the Debian package. > > diff --git a/dht.c b/dht.c > index c752d13..b3709f9 100644 > --- a/dht.c > +++ b/dht.c > @@ -2713,7 +2713,7 @@ send_closest_nodes(const struct sockaddr *sa, int salen, > int numnodes = 0, numnodes6 = 0; > struct bucket *b; > > - if(want < 0) > + if(want <= 0) > want = sa->sa_family == AF_INET ? WANT4 : WANT6; > > if((want & WANT4)) { -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi G+: https://plus.google.com/u/0/+SandroTosi