wireguard-go/tun
Tobias Klauser 36dc8b6994 tun: use GetsockoptString in (*NativeTun).Name on macOS
Direct syscalls using unix.Syscall(unix.SYS_*, ...) are discouraged on
macOS and might not be supported in future versions. Instead, use the
existing unix.GetsockoptString wrapper to get the interface name.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-10-27 16:20:09 +01:00
..
tuntest global: update header comments and modules 2020-05-02 02:08:26 -06:00
wintun tun/wintun/registry: fix Go 1.15 race/checkptr failure 2020-10-21 18:26:10 +02:00
operateonfd.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
tun.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
tun_darwin.go tun: use GetsockoptString in (*NativeTun).Name on macOS 2020-10-27 16:20:09 +01:00
tun_freebsd.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
tun_linux.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
tun_openbsd.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
tun_windows.go global: update header comments and modules 2020-05-02 02:08:26 -06:00