mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-25 18:20:07 +00:00
wgengine: move link monitor to be owned by the engine, not the router
And make the monitor package portable with no-op implementations on unsupported operating systems. Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
09fbae01a9
commit
7f5e3febe5
9
wgengine/monitor/monitor_unsupported.go
Normal file
9
wgengine/monitor/monitor_unsupported.go
Normal file
@@ -0,0 +1,9 @@
|
||||
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build !linux,!freebsd
|
||||
|
||||
package monitor
|
||||
|
||||
func newOSMon() (osMon, error) { return nil, nil }
|
||||
Reference in New Issue
Block a user