]> Sergey Matveev's repositories - btrtrc.git/commit
cmd/torrent: Make the addr flag a string
authorMatt Joiner <anacrolix@gmail.com>
Fri, 3 Jan 2020 03:51:18 +0000 (14:51 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Fri, 3 Jan 2020 03:51:26 +0000 (14:51 +1100)
commitbfbed8ab6de21b9a36f33932411bca8aee84f8f9
treebb3b27e2f2d7d212bf5fbd6cd63dc617d5d2218f
parente24a9b343f24088ee6c54983b6317ce9aef23a58
cmd/torrent: Make the addr flag a string

This avoids tagflag trying to resolve it, and then passing a bad IP for different listen networks. There's also a patch to tagflag so it doesn't do this anymore.
cmd/torrent/main.go