Skip to content

Commit

Permalink
ad:feat 37784
Browse files Browse the repository at this point in the history
  • Loading branch information
dcguo committed Aug 15, 2023
1 parent f7689eb commit e414fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/protocol/bt/fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (f *Fetcher) initClient() (err error) {
}

cfg := torrent.NewDefaultClientConfig()
cfg.ListenPort = 0
cfg.ListenPort = 37784
cfg.DefaultStorage = newFileOpts(newFileClientOpts{
ClientBaseDir: cfg.DataDir,
HandleFileTorrent: func(infoHash metainfo.Hash, ft *fileTorrentImpl) {
Expand Down

0 comments on commit e414fce

Please sign in to comment.