ipn: add AllowVersionSkew bool to Notify & Message

For "tailscale status" on macOS (from separately downloaded
cmd/tailscale binary against App Store IPNExtension).

(This isn't all of it, but I've had this sitting around uncommitted.)
This commit is contained in:
Brad Fitzpatrick
2020-05-09 13:50:13 -07:00
parent fde384b359
commit 529e2cb31a
2 changed files with 17 additions and 4 deletions

View File

@@ -48,6 +48,8 @@ func runStatus(ctx context.Context, args []string) error {
c, bc, ctx, cancel := connect(ctx)
defer cancel()
bc.AllowVersionSkew = true
ch := make(chan *ipnstate.Status, 1)
bc.SetNotifyCallback(func(n ipn.Notify) {
if n.ErrMessage != nil {