diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2020-10-27 14:39:36 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-10-27 16:20:09 +0100 |
commit | 3b490f30aa4d8762d89a51d90f330b39f0be5fef (patch) | |
tree | 9ba6250e78d971a46b5b26c9c4c07adf62922bf0 /tun/wintun/registry/registry_windows_test.go | |
parent | e6b7c4eef3f914c8657ca02676e48f61e8bf3ed8 (diff) |
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 'tun/wintun/registry/registry_windows_test.go')
0 files changed, 0 insertions, 0 deletions