From 05c938c8ac676341b4205ca648ec833fe407aeb6 Mon Sep 17 00:00:00 2001 From: Marlon Date: Sun, 4 Aug 2024 19:43:43 +0200 Subject: [PATCH] Correctly filter out Hyper-V Interfaces --- Shared/Services/WolService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/Services/WolService.cs b/Shared/Services/WolService.cs index 85f7c34..05cb9c2 100644 --- a/Shared/Services/WolService.cs +++ b/Shared/Services/WolService.cs @@ -44,7 +44,7 @@ public class WolService private bool IsViableWOLInterface(NetworkInterface ni) { return ni.NetworkInterfaceType != NetworkInterfaceType.Loopback - && ni.Name.Contains("Hyper-V") + && !ni.Name.Contains("Hyper-V") && ni.SupportsMulticast && ni.GetIPProperties().GetIPv4Properties != null; }