Update Emby.Server.Implementations/Networking/NetworkManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
fbd02a493b
commit
adb789a802
|
@ -251,7 +251,7 @@ namespace Emby.Server.Implementations.Networking
|
||||||
=> NetworkInterface.GetAllNetworkInterfaces()
|
=> NetworkInterface.GetAllNetworkInterfaces()
|
||||||
.Where(i => i.NetworkInterfaceType != NetworkInterfaceType.Loopback)
|
.Where(i => i.NetworkInterfaceType != NetworkInterfaceType.Loopback)
|
||||||
.Select(x => x.GetPhysicalAddress())
|
.Select(x => x.GetPhysicalAddress())
|
||||||
.Where(x => x != null && x != PhysicalAddress.None);
|
.Where(x => !x.Equals(PhysicalAddress.None));
|
||||||
|
|
||||||
private void OnNetworkAvailabilityChanged(object sender, NetworkAvailabilityEventArgs e)
|
private void OnNetworkAvailabilityChanged(object sender, NetworkAvailabilityEventArgs e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user