mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
set port for peers
This commit is contained in:
@@ -109,6 +109,8 @@ func (bt *BTServer) configure() {
|
||||
}
|
||||
if settings.BTsets.PeersListenPort > 0 {
|
||||
bt.config.ListenPort = settings.BTsets.PeersListenPort
|
||||
} else {
|
||||
bt.config.ListenPort = 50109
|
||||
}
|
||||
|
||||
log.Println("Configure client:", settings.BTsets)
|
||||
|
||||
Reference in New Issue
Block a user