-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[release/6.0][Android] Backport fix NetworkInterface.GetAllNetworkInterfaces #77260
[release/6.0][Android] Backport fix NetworkInterface.GetAllNetworkInterfaces #77260
Conversation
* Revert "[Android] Port getifaddrs implementation from Xamarin.Android (dotnet#71943)" This reverts commit 1de4a5c. * Fix allocating memory block for interfaces and addresses on recent Android SDKs * Detect loopback interface on Android * Add comment with explanation * Simplify the changes to be closer to the original code * Fix build * Fix typos Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com> * Improve comment * Indent using spaces instead of tabs * Remove check for ifaddrs.h * Add ANDROID_GETIFADDRS_WORKAROUND * Update comment Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
…otnet#76541) * Bring back pal_ifaddrs * Update the header file
Tagging subscribers to 'arch-android': @steveisok, @akoeplinger Issue DetailsBackport of #76370 and #76541 to release/6.0 Customer impactSeveral customers reported problems with the current implementation in #75809 and #76493 Testing
RiskLow. The change is inspired by an existing implementation in Xamarin.Android. This change was also previously backported to
|
/azp run runtime-manual |
No pipelines are associated with this pull request. |
/azp list |
This comment was marked as resolved.
This comment was marked as resolved.
@akoeplinger can you please provide a code review sign-off? |
Failures are old and logs are gone. Need to rebase and re-run since there were several failures. Closing and reopening. |
CI failures unrelated:
Approved by Tactics. Signed off by code reviewer. No OOB package authoring changes needed. Ready to merge. |
Backport of #76370 and #76541 to release/6.0
Fixes #75809
Fixes #76493
Fixes dotnet/android#6973
/cc @steveisok @akoeplinger
Customer impact
Note: This change was also previously backported to
release/7.0
(#76565). It was an oversight that it did not come back to release/6.0 as well.Several MAUI customers reported problems with the current implementation in #75809 and #76493
Testing
Risk
Low. The change is inspired by an existing implementation in Xamarin.Android.