cmd/torrent/download.go | 2 +- diff --git a/cmd/torrent/download.go b/cmd/torrent/download.go index 123b3659a483c54ee69def1d3b530e5f66abda1d..6df12216b14d7f961221da2e9090d85a71b49e05 100644 --- a/cmd/torrent/download.go +++ b/cmd/torrent/download.go @@ -287,7 +287,7 @@ clientConfig.DisableAcceptRateLimiting = true clientConfig.NoDHT = !flags.Dht clientConfig.Debug = flags.Debug clientConfig.Seed = flags.Seed - clientConfig.PublicIp4 = flags.PublicIP + clientConfig.PublicIp4 = flags.PublicIP.To4() clientConfig.PublicIp6 = flags.PublicIP clientConfig.DisablePEX = !flags.Pex clientConfig.DisableWebtorrent = !flags.Webtorrent