Correctly filter out Hyper-V Interfaces

This commit is contained in:
Marlon committed 2024-08-04 19:43:43 +02:00
1 parent 1347b700f9
commit 05c938c8ac
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}