diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-06-11 00:33:07 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-06-11 00:33:07 +0200 |
commit | 41fdbf09710b7987b442e8fd8310568f2790c15b (patch) | |
tree | 4a108df9da0f4292f2d37a65bef2c5ec46392298 /tun/wintun/wintun_windows.go | |
parent | 03eee4a7782ddefa49c682b4de9c13bb5099892c (diff) |
wintun: increase registry timeout
Diffstat (limited to 'tun/wintun/wintun_windows.go')
-rw-r--r-- | tun/wintun/wintun_windows.go | 2 |
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. |