For testing with https://github.com/anacrolix/torrent/issues/402.
UtpPeers bool
Ipv4 bool
Ipv6 bool
+ Pex bool
tagflag.StartPos
Torrent []string `arity:"+" help:"torrent file path or magnet uri"`
}{
UtpPeers: true,
Ipv4: true,
Ipv6: true,
+ Pex: true,
}
func stdoutAndStderrAreSameFile() bool {
clientConfig.Seed = flags.Seed
clientConfig.PublicIp4 = flags.PublicIP
clientConfig.PublicIp6 = flags.PublicIP
+ clientConfig.DisablePEX = !flags.Pex
if flags.PackedBlocklist != "" {
blocklist, err := iplist.MMapPackedFile(flags.PackedBlocklist)
if err != nil {