Update Emby.Server.Implementations/Networking/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
pull/3007/head
BaronGreenback 5 years ago committed by GitHub
parent fbd02a493b
commit adb789a802
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -251,7 +251,7 @@ namespace Emby.Server.Implementations.Networking
=> NetworkInterface.GetAllNetworkInterfaces()
.Where(i => i.NetworkInterfaceType != NetworkInterfaceType.Loopback)
.Select(x => x.GetPhysicalAddress())
.Where(x => x != null && x != PhysicalAddress.None);
.Where(x => !x.Equals(PhysicalAddress.None));
private void OnNetworkAvailabilityChanged(object sender, NetworkAvailabilityEventArgs e)
{

Loading…
Cancel
Save