cmd/torrent: Don't log the public IP flag value

This commit is contained in:
Matt Joiner 2019-07-19 13:00:31 +10:00
parent 219ac4ab42
commit 93d34dd122
1 changed files with 0 additions and 1 deletions

View File

@ -164,7 +164,6 @@ func exitSignalHandlers(client *torrent.Client) {
func main() { func main() {
log.SetFlags(log.LstdFlags | log.Lshortfile) log.SetFlags(log.LstdFlags | log.Lshortfile)
tagflag.Parse(&flags) tagflag.Parse(&flags)
log.Print(flags.PublicIP)
defer envpprof.Stop() defer envpprof.Stop()
clientConfig := torrent.NewDefaultClientConfig() clientConfig := torrent.NewDefaultClientConfig()
clientConfig.Debug = flags.Debug clientConfig.Debug = flags.Debug