mirror of
https://git.zx2c4.com/wireguard-go
synced 2024-11-15 01:05:15 +01:00
e6b7c4eef3
Direct syscalls using unix.Syscall(unix.SYS_*, ...) are discouraged on macOS and might not be supported in future versions. Switch to use unix.Ioctl{Get,Set}IfreqMTU to get and set an interface's MTU. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |
||
---|---|---|
.. | ||
tuntest | ||
wintun | ||
operateonfd.go | ||
tun_darwin.go | ||
tun_freebsd.go | ||
tun_linux.go | ||
tun_openbsd.go | ||
tun_windows.go | ||
tun.go |