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

Fix -4 option when IPv6 disabled #154

Merged
merged 1 commit into from
Dec 31, 2019
Merged

Fix -4 option when IPv6 disabled #154

merged 1 commit into from
Dec 31, 2019

Conversation

pbhenson
Copy link
Contributor

When IPv6 is disabled, hints_ai_family is set to AF_INET at initialization, resulting in the error "can't specify both -4 and -6" if the -4 option is supplied. If there's no IPv6, make the -4 option a no-op.

When IPv6 is disabled, hints_ai_family is set to AF_INET at initialization, resulting in the error "can't specify both -4 and -6" if the -4 option is supplied. If there's no IPv6, make the -4 option a no-op.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 79.541% when pulling 509f5a5 on pbhenson:fix_-4_bug into 12961d5 on schweikert:develop.

@schweikert
Copy link
Owner

Thanks!

@schweikert schweikert merged commit 88963eb into schweikert:develop Dec 31, 2019
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.

None yet

3 participants