control/controlclient: add call to tsmpPing

Signed-off-by: Simeng He <simeng@tailscale.com>
This commit is contained in:
Simeng He 2021-08-20 11:17:55 -04:00
parent 4ff0757d44
commit 1dc254e038
1 changed files with 1 additions and 0 deletions

View File

@ -787,6 +787,7 @@ func (c *Direct) sendMapRequest(ctx context.Context, maxPolls int, cb func(*netm
if pr := resp.PingRequest; pr != nil && c.isUniquePingRequest(pr) {
go answerPing(c.logf, c.httpc, pr)
go tsmpPing(c.logf, c.httpc, pr, c.pinger)
}
if resp.KeepAlive {