From e448b7d9605eb63d802c006f752d570b47508878 Mon Sep 17 00:00:00 2001 From: Spike Curtis Date: Mon, 22 Jan 2024 16:31:10 +0400 Subject: [PATCH] fix: use DiscoPing (partially reverts #11306) --- tailnet/conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailnet/conn.go b/tailnet/conn.go index 4048567946791..c6d8d3ef928a6 100644 --- a/tailnet/conn.go +++ b/tailnet/conn.go @@ -376,7 +376,7 @@ func (c *Conn) Status() *ipnstate.Status { func (c *Conn) Ping(ctx context.Context, ip netip.Addr) (time.Duration, bool, *ipnstate.PingResult, error) { errCh := make(chan error, 1) prChan := make(chan *ipnstate.PingResult, 1) - go c.wireguardEngine.Ping(ip, tailcfg.PingTSMP, func(pr *ipnstate.PingResult) { + go c.wireguardEngine.Ping(ip, tailcfg.PingDisco, func(pr *ipnstate.PingResult) { if pr.Err != "" { errCh <- xerrors.New(pr.Err) return pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy