cmd/tailscaled: readd tun.Diagnose call, mistakenly lost during refactor.

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson 2021-03-26 21:47:07 -07:00 committed by Dave Anderson
parent f26dfd054a
commit 9ea5cbf81f
1 changed files with 1 additions and 0 deletions

View File

@ -339,6 +339,7 @@ func tryEngine(logf logger.Logf, linkMon *monitor.Mon, name string) (e wgengine.
} else {
dev, err := tun.New(logf, name)
if err != nil {
tun.Diagnose(logf, name)
return nil, false, err
}
conf.TUN = dev