mirror of
https://github.com/Maassoft/ColorControl.git
synced 2026-10-18 23:07:15 -05:00
Correctly filter out Hyper-V Interfaces
This commit is contained in:
1 parent
1347b700f9
commit
05c938c8ac
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user