aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Networking/NetworkManager.cs
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2020-06-01 09:58:16 +0100
committerGitHub <noreply@github.com>2020-06-01 09:58:16 +0100
commitadb789a802438f756492326b0c036bc77d70cea1 (patch)
tree2488efa9bcc3e799fb62ff53e5e711ffb55b4528 /Emby.Server.Implementations/Networking/NetworkManager.cs
parentfbd02a493b3284f50a70380db866be02f5226c4e (diff)
Update Emby.Server.Implementations/Networking/NetworkManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to 'Emby.Server.Implementations/Networking/NetworkManager.cs')
-rw-r--r--Emby.Server.Implementations/Networking/NetworkManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Networking/NetworkManager.cs b/Emby.Server.Implementations/Networking/NetworkManager.cs
index 4b0c315c0..6552cd8ec 100644
--- a/Emby.Server.Implementations/Networking/NetworkManager.cs
+++ b/Emby.Server.Implementations/Networking/NetworkManager.cs
@@ -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)
{