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

[release/6.0][Android] Backport fix NetworkInterface.GetAllNetworkInterfaces #77260

Commits on Oct 20, 2022

  1. [Android] Fix NetworkInterface.GetAllNetworkInterfaces (dotnet#76370)

    * 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 <[email protected]>
    
    * 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 <[email protected]>
    simonrozsival and akoeplinger committed Oct 20, 2022
    Configuration menu
    Copy the full SHA
    2046cd7 View commit details
    Browse the repository at this point in the history
  2. [Android] Fix NetworkInterface.GetAllNetworkInterfaces on API 21-23 (d…

    …otnet#76541)
    
    * Bring back pal_ifaddrs
    
    * Update the header file
    simonrozsival committed Oct 20, 2022
    Configuration menu
    Copy the full SHA
    b47b3d2 View commit details
    Browse the repository at this point in the history