1
0
mirror of https://git.zx2c4.com/wireguard-go synced 2024-11-15 09:15:14 +01:00
wireguard-go/tun/wintun
Simon Rozman 7305b4ce93 wintun: upgrade deleting all interfaces and make it reusable
DeleteAllInterfaces() didn't check if SPDRP_DEVICEDESC == "WireGuard
Tunnel". It deleted _all_ Wintun adapters, not just WireGuard's.

Furthermore, the DeleteAllInterfaces() was upgraded into a new function
called DeleteMatchingInterfaces() for selectively deletion. This will
be used by WireGuard to clean stale Wintun adapters.

Signed-off-by: Simon Rozman <simon@rozman.si>
2019-08-28 11:39:01 +02:00
..
iphlpapi wintun: rename duplicate adapters instead of ourselves 2019-08-27 11:59:15 -06:00
nci wintun: use nci.dll directly instead of buggy netshell 2019-08-21 09:16:12 +02:00
registry wintun: registry: fix nits 2019-05-11 17:25:48 +02:00
setupapi wintun: refactor err == nil error checking 2019-08-02 15:18:58 +02:00
wintun_windows.go wintun: upgrade deleting all interfaces and make it reusable 2019-08-28 11:39:01 +02:00