net/netcheck: only run HTTP netcheck for tamago clients

Signed-off-by: Andrea Barisani <[email protected]>
This commit is contained in:
Andrea Barisani authored and Denton Gentry committed 2023-12-13 05:28:03 -08:00
1 parent 3ba5fd4baa
commit affe11c503
1 file changed
+1 -1
+1 -1
View File
@@ -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
}