wgengine/monitor: parse Linux netlink messages, ignore our own events

Fixes tailscale/corp#412 ("flood of link change events at start-up")

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2020-07-06 16:36:57 -07:00
committed by Brad Fitzpatrick
parent 742b8b44a8
commit 4db60a8436
5 changed files with 106 additions and 22 deletions

View File

@ -6,4 +6,6 @@
package monitor
func newOSMon() (osMon, error) { return nil, nil }
import "tailscale.com/types/logger"
func newOSMon(logger.Logf) (osMon, error) { return nil, nil }