You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/wgengine/monitor
Brad Fitzpatrick 24fa616e73 wgengine/monitor: make Darwin monitor shut down cleanly, add test
Don't use os.NewFile or (*os.File).Close on the AF_ROUTE socket. It
apparently does weird things to the fd and at least doesn't seem to
close it. Just use the unix package.

The test doesn't actually fail reliably before the fix, though. It
was an attempt. But this fixes the integration tests.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
5 years ago
..
monitor.go wgengine{,/monitor}: move interface state fetching/comparing to monitor 5 years ago
monitor_darwin.go wgengine/monitor: make Darwin monitor shut down cleanly, add test 5 years ago
monitor_freebsd.go wgengine/monitor_freebsd.go: remove duplicated errcheck 5 years ago
monitor_linux.go wgengine/monitor: don't log any single-IP routes added to the tailscale table. 5 years ago
monitor_test.go wgengine/monitor: make Darwin monitor shut down cleanly, add test 5 years ago
monitor_unsupported.go wgengine/monitor: make the darwin link monitor work in the sandbox too 5 years ago
monitor_windows.go wgengine/monitor: close closeHandle 5 years ago