Skip to content
New issue

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

Make it possible to override the default AdminListen option at compile time #818

Closed

Conversation

Arceliar
Copy link
Member

Related to #816

The intent here is to make it possible for package maintainers to set the default admin listen value to something appropriate for the distribution. At the moment, the existing default values are unchanged, but I'm considering "none" for all platforms (just to be consistent). I'm not sure I like this approach, but if we go this route, then it probably makes sense to make some of the other default configurable at compile time (and clean up this code, there's probably a better way to do it).

Usage:
./build -l '-X github.com/yggdrasil-network/yggdrasil-go/src/defaults.adminListen=whatever'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants