-
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
Regression - NET5.0 RC1 returns empty MAC address for network interface on Linux #42870
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @dotnet/ncl |
@dotnet/ncl I reproduce on Ubuntu 20.04 WSL2 using 5.0 RC2 and 3.1:
|
Adding blocking tag, feel free to remove it if it turns out it's not. |
It works for me with 5.0.100-rc.2.20479.15 (and daily build) on Ubuntu18
Can you post output from |
actually I was wrong. I missed the |
I put up #42878 with fix. Broken since last fall ;( |
Reopening for 5.0 |
5.0 fixed by #42882 |
fixed and backported |
Thank you guys! |
I've noticed that my app is returning empty Mac adress info when running on Linux. So I made a small snippet to test the code, Network interfaces are returned just fine, but MAC address from Network interface is empty. On net5.0 rc.1 & win-x64 it works normally as well as with Net Core 3.1.8 on Linux ARM32 machine.
Output on netcoreapp3.1:
Output on net5.0 rc.1:
GetAddressBytes() returns empty array and hash code is "1"
Update: tested also on My PC under WSL with NET5 rc.1 and the result is empty:
The text was updated successfully, but these errors were encountered: