Default to announcing as leecher
(cherry picked from commit 16da3c0c46
)
This commit is contained in:
parent
e235776204
commit
61a303cbf7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue