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> |
||
|---|---|---|
| .. | ||
| wintun | ||
| operateonfd.go | ||
| tun.go | ||
| tun_darwin.go | ||
| tun_freebsd.go | ||
| tun_linux.go | ||
| tun_openbsd.go | ||
| tun_windows.go | ||