From affe11c503dd4dc72a184bef7b4b88b59a84899c Mon Sep 17 00:00:00 2001 From: Andrea Barisani Date: Thu, 23 Nov 2023 11:57:09 +0100 Subject: [PATCH] net/netcheck: only run HTTP netcheck for tamago clients Signed-off-by: Andrea Barisani --- net/netcheck/netcheck.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netcheck/netcheck.go b/net/netcheck/netcheck.go index a863a5a19..1c2b58853 100644 --- a/net/netcheck/netcheck.go +++ b/net/netcheck/netcheck.go @@ -812,7 +812,7 @@ func (c *Client) GetReport(ctx context.Context, dm *tailcfg.DERPMap) (_ *Report, c.curState = nil }() - if runtime.GOOS == "js" { + if runtime.GOOS == "js" || runtime.GOOS == "tamago" { if err := c.runHTTPOnlyChecks(ctx, last, rs, dm); err != nil { return nil, err }