From 61a303cbf7829bdd6796bf7683d1faa21bd0fbcb Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Sat, 17 Dec 2022 11:08:46 +1100 Subject: [PATCH] Default to announcing as leecher (cherry picked from commit 16da3c0c46a71d6f270600c63acb674226c1c9ae) --- cmd/torrent/announce.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/torrent/announce.go b/cmd/torrent/announce.go index f48dfd2a..31676d9a 100644 --- a/cmd/torrent/announce.go +++ b/cmd/torrent/announce.go @@ -23,6 +23,7 @@ func announceErr(flags AnnounceCmd) error { Port: uint16(torrent.NewDefaultClientConfig().ListenPort), NumWant: -1, Event: flags.Event, + Left: -1, } if flags.Port != nil { req.Port = *flags.Port -- 2.44.0