We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/anacrolix/torrent/blob/master/cmd/torrent/main.go#L80 seems to fill rootGroup.Client.IPBlocklist with &{[]}.
rootGroup.Client.IPBlocklist
&{[]}
This causes if cfg.IPBlocklist != nil to always resolve true, which then prevents the call to cl.setEnvBlocklist()
if cfg.IPBlocklist != nil
cl.setEnvBlocklist()
The text was updated successfully, but these errors were encountered:
Great catch, thanks.
Sorry, something went wrong.
Since this is mostly a problem in go-flags end I submitted ticket over there as well: jessevdk/go-flags#151
go-flags
c7f9bfc
Thanks, I've come up with my own implementation, let me know if you have any issues or thoughts.
No branches or pull requests
https://github.com/anacrolix/torrent/blob/master/cmd/torrent/main.go#L80 seems to fill
rootGroup.Client.IPBlocklist
with&{[]}
.This causes
if cfg.IPBlocklist != nil
to always resolve true, which then prevents the call tocl.setEnvBlocklist()
The text was updated successfully, but these errors were encountered: