1
0
mirror of https://git.zx2c4.com/wireguard-go synced 2024-11-15 01:05:15 +01:00

wintun: increase registry timeout

This commit is contained in:
Jason A. Donenfeld 2019-06-11 00:33:07 +02:00
parent 03eee4a778
commit 41fdbf0971

View File

@ -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.