aboutsummaryrefslogtreecommitdiffstats
path: root/tun
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-06-11 00:33:07 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-06-11 00:33:07 +0200
commit41fdbf09710b7987b442e8fd8310568f2790c15b (patch)
tree4a108df9da0f4292f2d37a65bef2c5ec46392298 /tun
parentwintun: add helper for cleaning up (diff)
downloadwireguard-go-41fdbf09710b7987b442e8fd8310568f2790c15b.tar.xz
wireguard-go-41fdbf09710b7987b442e8fd8310568f2790c15b.zip
wintun: increase registry timeout
Diffstat (limited to 'tun')
-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 9613ffc..281ab37 100644
--- a/tun/wintun/wintun_windows.go
+++ b/tun/wintun/wintun_windows.go
@@ -31,7 +31,7 @@ var deviceClassNetGUID = windows.GUID{Data1: 0x4d36e972, Data2: 0xe325, Data3: 0
const (
hardwareID = "Wintun"
- waitForRegistryTimeout = time.Second * 5
+ waitForRegistryTimeout = time.Second * 10
)
// makeWintun creates a Wintun interface handle and populates it from the device's registry key.