aboutsummaryrefslogtreecommitdiffstats
path: root/device
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2020-10-27 14:39:36 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-10-27 16:20:09 +0100
commit3b490f30aa4d8762d89a51d90f330b39f0be5fef (patch)
tree9ba6250e78d971a46b5b26c9c4c07adf62922bf0 /device
parenttun: use Ioctl{Get,Set}IfreqMTU from golang.org/x/sys/unix on macOS (diff)
downloadwireguard-go-3b490f30aa4d8762d89a51d90f330b39f0be5fef.tar.xz
wireguard-go-3b490f30aa4d8762d89a51d90f330b39f0be5fef.zip
tun: use SockaddrCtl from golang.org/x/sys/unix on macOS
Direct syscalls using unix.Syscall(unix.SYS_*, ...) are discouraged on macOS and might not be supported in future versions. Switch to use unix.Connect with unix.SockaddrCtl instead. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'device')
0 files changed, 0 insertions, 0 deletions