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 interface priority bug when either of IPv4/IPv6 is disabled #4

Merged
merged 1 commit into from
Oct 27, 2022

Conversation

jacob-pro
Copy link
Owner

According to Windows, when IPv6 is disabled then the adapter has an IPv6 metric of zero. This was causing adapters to be incorrectly sorted, and DNS servers to be written in the wrong order.

@jacob-pro jacob-pro merged commit 1d83b43 into master Oct 27, 2022
@jacob-pro jacob-pro deleted the ipv6_disabled_bug branch October 27, 2022 13:09
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.

1 participant