control/controlclient: add call to tsmpPing
Signed-off-by: Simeng He <simeng@tailscale.com>
This commit is contained in:
parent
4ff0757d44
commit
1dc254e038
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue