Skip to content

Conversation

stepbrobd
Copy link
Contributor

Instead of using default outbound address all the time, change the bool flag to an optional of string

If the flag is set but no value is given, use default (0.0.0.0 or ::)

If the flag is set and a value is given, bind to that address

@code-inflation code-inflation self-requested a review April 13, 2025 19:17
@code-inflation
Copy link
Owner

lgtm, thanks for your contribution

@stepbrobd
Copy link
Contributor Author

thanks for the review!

i wanted this because speedtest.net's cli have flags to bind to a specific interface or IP and that's useful for my use case

@code-inflation code-inflation merged commit 9cd2f1d into code-inflation:master Apr 13, 2025
7 checks passed
@code-inflation
Copy link
Owner

Makes sense!
The feature is released in version v1.3.3

code-inflation added a commit that referenced this pull request Jul 31, 2025
feat: allow users to use --ipv{4,6} flags to bind to other addresses
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