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 ( const (
hardwareID = "Wintun" 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. // makeWintun creates a Wintun interface handle and populates it from the device's registry key.