From 8cf3ce187db9c464056dc1d74a90e25162e118dc Mon Sep 17 00:00:00 2001
From: Matt Joiner <anacrolix@gmail.com>
Date: Thu, 16 Apr 2020 10:26:37 +1000
Subject: [PATCH] cmd/torrent: Fix -{utp,tcp}Peers defaults

Addresses https://github.com/anacrolix/torrent/issues/396#issuecomment-614210103.
---
 cmd/torrent/main.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cmd/torrent/main.go b/cmd/torrent/main.go
index f40d6b8e..4ec5a849 100644
--- a/cmd/torrent/main.go
+++ b/cmd/torrent/main.go
@@ -148,6 +148,8 @@ var flags = struct {
 	DownloadRate: -1,
 	Progress:     true,
 	Dht:          true,
+	TcpPeers:     true,
+	UtpPeers:     true,
 }
 
 func stdoutAndStderrAreSameFile() bool {
-- 
2.51.0