aboutsummaryrefslogtreecommitdiffstats
path: root/rwcancel
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2020-10-27 14:39:34 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-10-27 16:20:09 +0100
commit8ae09213a7ba2520dd4c206c76d1730a55408519 (patch)
tree5b34938e2fe38d0e95d7a2f6ead379a719d07950 /rwcancel
parenttun: use GetsockoptString in (*NativeTun).Name on macOS (diff)
downloadwireguard-go-8ae09213a7ba2520dd4c206c76d1730a55408519.tar.xz
wireguard-go-8ae09213a7ba2520dd4c206c76d1730a55408519.zip
tun: use IoctlCtlInfo 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.IoctlCtlInfo to get the kernel control info. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'rwcancel')
0 files changed, 0 insertions, 0 deletions