aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-07-17 15:33:40 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-07-17 15:33:40 +0200
commit896f99551ce39387afb3ff14410c925b05eada0c (patch)
tree880893b83d19385ad119c02fe19759a17f46c668 /cmd
parent0fcc54967bdf43a90cfea3d65111893b6ab81ed9 (diff)
Some fields are mandatory
Diffstat (limited to 'cmd')
-rw-r--r--cmd/btcheck/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/btcheck/main.go b/cmd/btcheck/main.go
index ce65fa0..b054c8f 100644
--- a/cmd/btcheck/main.go
+++ b/cmd/btcheck/main.go
@@ -36,6 +36,7 @@ func main() {
InfoHash: tor.Info.Hash(),
PeerID: []byte(id),
Compact: true,
+ Port: 6881,
}
resp, err := req.Get(tor.Announce)
if err != nil {