summaryrefslogtreecommitdiff
path: root/device/queueconstants_default.go
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2020-10-27 14:39:33 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-10-27 16:20:09 +0100
commit36dc8b6994514e42fcdf00ba91774148afbefc1c (patch)
tree1b2cefda0dac8db4f27b3ec7d72454a68fd7378e /device/queueconstants_default.go
parent2057f19a61cedbb0fef88823c832b04165325ab1 (diff)
downloadwireguard-go-36dc8b6994514e42fcdf00ba91774148afbefc1c.tar.gz
wireguard-go-36dc8b6994514e42fcdf00ba91774148afbefc1c.zip
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>
Diffstat (limited to 'device/queueconstants_default.go')
0 files changed, 0 insertions, 0 deletions