From 41fdbf09710b7987b442e8fd8310568f2790c15b Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 11 Jun 2019 00:33:07 +0200 Subject: [PATCH] wintun: increase registry timeout --- tun/wintun/wintun_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.