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 ffa70a617d wgengine{,/monitor}: restore Engine.LinkChange, add Mon.InjectEvent
The Engine.LinkChange method was recently removed in
e3df29d488 while misremembering how
Android's link state mechanism worked.

Rather than do some last minute rearchitecting of link state on
Android before Tailscale 1.6, restore the old Engine.LinkChange hook
for now so the Android client doesn't need any changes. But change how
it's implemented to instead inject an event into the link monitor.

Fixes #1427

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
monitor.go wgengine{,/monitor}: restore Engine.LinkChange, add Mon.InjectEvent 3 years ago
monitor_darwin.go wgengine/monitor: on unsupported platforms, use a polling implementation 3 years ago
monitor_darwin_test.go wgengine/monitor: add skipped failing test for Darwin route message bug 3 years ago
monitor_freebsd.go wgengine/monitor: on unsupported platforms, use a polling implementation 3 years ago
monitor_linux.go wgengine/monitor: on unsupported platforms, use a polling implementation 3 years ago
monitor_polling.go wgengine/monitor: on unsupported platforms, use a polling implementation 3 years ago
monitor_test.go wgengine{,/monitor}: restore Engine.LinkChange, add Mon.InjectEvent 3 years ago
monitor_windows.go wgengine/monitor: on unsupported platforms, use a polling implementation 3 years ago