]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
wintun: don't retry when not creating
authorJason A. Donenfeld <Jason@zx2c4.com>
Thu, 2 May 2019 21:53:15 +0000 (23:53 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 2 May 2019 21:53:15 +0000 (23:53 +0200)
commit46dbf5404013e83867356ea8a590a45a569acbf4
tree0759e6ea30009538fdb458170d0bd632b63de8ee
parent247e14693adb3d7a337ec57a4d2db374fb9099cd
wintun: don't retry when not creating

The only time we're trying to counteract the race condition is when
we're creating a driver. When we're simply looking up all drivers, it
doesn't make sense to retry.
tun/wintun/registryhacks_windows.go
tun/wintun/wintun_windows.go