summaryrefslogtreecommitdiffhomepage
path: root/tun/wintun/wintun_windows.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-06-18 16:08:28 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-06-18 17:51:29 +0200
commitc69d02664924e11ffc5e6728638216a26b81c4ce (patch)
treecaec0bf19c41c8b120028d976e9683f318f19f65 /tun/wintun/wintun_windows.go
parent1f48971a80f48257e478e532f6971d0557026120 (diff)
tun: windows: never retry open on Windows 10
Diffstat (limited to 'tun/wintun/wintun_windows.go')
-rw-r--r--tun/wintun/wintun_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/wintun/wintun_windows.go b/tun/wintun/wintun_windows.go
index 281ab37..b8aabf3 100644
--- a/tun/wintun/wintun_windows.go
+++ b/tun/wintun/wintun_windows.go
@@ -30,7 +30,7 @@ type Wintun struct {
var deviceClassNetGUID = windows.GUID{Data1: 0x4d36e972, Data2: 0xe325, Data3: 0x11ce, Data4: [8]byte{0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18}}
const (
- hardwareID = "Wintun"
+ hardwareID = "Wintun"
waitForRegistryTimeout = time.Second * 10
)