diff options
author | Avery Pennarun <apenwarr@gmail.com> | 2019-04-05 02:26:40 -0400 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-10-17 15:19:20 +0200 |
commit | c85e4a410f27986a2967a49c0155633c716bf3ca (patch) | |
tree | a854070549a114ba3e9522269872e4e6dd8b0812 /device/cookie_test.go | |
parent | 1b6c8ddbe8f2b9ef0b07b4d5a97443c67ee2e0fd (diff) |
wintun: quickly ignore non-Wintun devices
Some devices take ~2 seconds to enumerate on Windows if we try to get
their instance name. The hardware id property, on the other hand,
is available right away.
Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
[zx2c4: inlined this to where it makes sense, reused setupapi const]
Diffstat (limited to 'device/cookie_test.go')
0 files changed, 0 insertions, 0 deletions