net-p2p/transmission-*: Fix 'IPv4 DHT announce failed' flooding syslog.
This commit is contained in:
parent
3f4290a1f6
commit
1ad0aafe75
@ -1,6 +1,6 @@
|
||||
PORTNAME= transmission
|
||||
DISTVERSION= 3.00
|
||||
PORTREVISION?= 4
|
||||
PORTREVISION?= 5
|
||||
CATEGORIES+= net-p2p
|
||||
SLAVEPORT?= cli
|
||||
PKGNAMESUFFIX?= -cli
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- libtransmission/tr-dht.c.orig 2021-06-14 01:02:25 UTC
|
||||
+++ libtransmission/tr-dht.c
|
||||
@@ -716,7 +716,7 @@ static int tr_dhtAnnounce(tr_torrent* tor, int af, boo
|
||||
{
|
||||
rc = dht_search(tor->info.hash, announce ? tr_sessionGetPeerPort(session) : 0, af, callback, NULL);
|
||||
|
||||
- if (rc >= 1)
|
||||
+ if (rc >= 0)
|
||||
{
|
||||
tr_logAddTorInfo(tor, "Starting %s DHT announce (%s, %d nodes)", af == AF_INET6 ? "IPv6" : "IPv4",
|
||||
tr_dhtPrintableStatus(status), numnodes);
|
@ -1,5 +1,5 @@
|
||||
PKGNAMESUFFIX= -daemon
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
|
||||
USES= ssl
|
||||
NLS_USES= gettext-runtime:run
|
||||
|
@ -1,5 +1,5 @@
|
||||
PKGNAMESUFFIX= -gtk
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
|
||||
LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \
|
||||
libnotify.so:devel/libnotify
|
||||
|
@ -1,5 +1,5 @@
|
||||
PKGNAMESUFFIX= -qt
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
|
||||
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
||||
libfreetype.so:print/freetype2
|
||||
|
@ -1,5 +1,5 @@
|
||||
PKGNAMESUFFIX= -utils
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
|
||||
NLS_USES= gettext-tools:build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user