We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e93f338 commit 473347aCopy full SHA for 473347a
internal/wgwindows/client_windows.go
@@ -63,7 +63,7 @@ func (c *Client) refreshInterfaceCache() error {
63
}
64
var status, problemCode uint32
65
ret := windows.CM_Get_DevNode_Status(&status, &problemCode, devInfoData.DevInst, 0)
66
- if ret != nil || (status&windows.DN_DRIVER_LOADED|windows.DN_STARTED) != windows.DN_DRIVER_LOADED|windows.DN_STARTED {
+ if ret != nil || status&(windows.DN_DRIVER_LOADED|windows.DN_STARTED) != windows.DN_DRIVER_LOADED|windows.DN_STARTED {
67
continue
68
69
instanceId, err := windows.SetupDiGetDeviceInstanceId(devInfo, devInfoData)
0 commit comments