net/netcheck: only run HTTP netcheck for tamago clients

Signed-off-by: Andrea Barisani <andrea@inversepath.com>
This commit is contained in:
Andrea Barisani 2023-11-23 11:57:09 +01:00 committed by Denton Gentry
parent 3ba5fd4baa
commit affe11c503
1 changed files with 1 additions and 1 deletions

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
}