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 NetworkInterface properties on Windows #102900

Merged
merged 1 commit into from
May 31, 2024
Merged

fix NetworkInterface properties on Windows #102900

merged 1 commit into from
May 31, 2024

Conversation

wfurt
Copy link
Member

@wfurt wfurt commented May 30, 2024

fixes #101710
It is regression from #100824. It did replaced original flags with IncludeAllInterfaces. But the interaction to include all interfaces does not guarantied that all of them would have all properties populated.
Strangely, on my dev box it would still show gateway even with the change but some Windows instances would not.
So this change brings all flags together and OR them with the new one to get superset.

Tested on system @Junjun-zhao kindly provided.

@wfurt wfurt added this to the 9.0.0 milestone May 30, 2024
@wfurt wfurt requested a review from a team May 30, 2024 22:18
@wfurt wfurt self-assigned this May 30, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Copy link
Member

@rzikm rzikm left a comment

Choose a reason for hiding this comment

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

LGTM

@wfurt wfurt merged commit ead1d5c into dotnet:main May 31, 2024
83 checks passed
@wfurt wfurt deleted the info branch May 31, 2024 16:53
@github-actions github-actions bot locked and limited conversation to collaborators Jul 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[dotnet-sdk-9.0.100-preview.4.24253.11] IPInterfaceProperties.GatewayAddresses. FirstOrDefault() returns Null
2 participants