ipn/ipnlocal, control/controlclient: propagate link monitor to controlclient

Don't use it yet, but get it down there.

Updates #1455

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2021-03-04 20:11:55 -08:00
parent d37b3b02cd
commit affd859121
2 changed files with 5 additions and 0 deletions

View File

@@ -554,6 +554,7 @@ func (b *LocalBackend) Start(opts ipn.Options) error {
HTTPTestClient: opts.HTTPTestClient,
DiscoPublicKey: discoPublic,
DebugFlags: controlDebugFlags,
LinkMonitor: b.e.GetLinkMonitor(),
})
if err != nil {
return err