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

Hardcode AF_INET for windows ndt7-client builds #125

Merged
merged 1 commit into from
Sep 23, 2020

Conversation

stephen-soltesz
Copy link
Contributor

@stephen-soltesz stephen-soltesz commented Sep 22, 2020

This change fixes m-lab/ndt7-client-go#50 by removing references to unix.AF_INET and replacing it with a simple constant. This value has not changed in the Linux sources since before Linux v1.0. Since AF_INET6 is also hard-coded and we only want Linux-related values here, I believe this is a safe change and allows non-Linux clients to build.


This change is Reviewable

@coveralls
Copy link

Pull Request Test Coverage Report for Build 906

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 82.925%

Totals Coverage Status
Change from base Build 903: 0.0%
Covered Lines: 1083
Relevant Lines: 1306

💛 - Coveralls

Copy link
Contributor

@gfr10598 gfr10598 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! 1 of 1 LGTMs obtained

@stephen-soltesz stephen-soltesz merged commit a8ccc2c into master Sep 23, 2020
stephen-soltesz added a commit to m-lab/ndt7-client-go that referenced this pull request Sep 23, 2020
stephen-soltesz added a commit to m-lab/ndt7-client-go that referenced this pull request Sep 23, 2020
@stephen-soltesz stephen-soltesz deleted the sandbox-soltesz-afinet branch August 12, 2022 17:26
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.

Error compiling ndt7-client on Windows
3 participants