]> Sergey Matveev's repositories - btrtrc.git/commitdiff
cmd/torrent: Fix -{utp,tcp}Peers defaults
authorMatt Joiner <anacrolix@gmail.com>
Thu, 16 Apr 2020 00:26:37 +0000 (10:26 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Thu, 16 Apr 2020 00:26:37 +0000 (10:26 +1000)
Addresses https://github.com/anacrolix/torrent/issues/396#issuecomment-614210103.

cmd/torrent/main.go

index f40d6b8e7bdfe0263c7ef32321b1d4082b527414..4ec5a8493f4fc130afbc7d662ed72e746982b12c 100644 (file)
@@ -148,6 +148,8 @@ var flags = struct {
        DownloadRate: -1,
        Progress:     true,
        Dht:          true,
+       TcpPeers:     true,
+       UtpPeers:     true,
 }
 
 func stdoutAndStderrAreSameFile() bool {