Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7ffd99c

Browse files
authored
fix: use DiscoPing (partially reverts#11306) (#11744)
1 parent3d85cdf commit7ffd99c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎tailnet/conn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ func (c *Conn) Status() *ipnstate.Status {
376376
func (c*Conn)Ping(ctx context.Context,ip netip.Addr) (time.Duration,bool,*ipnstate.PingResult,error) {
377377
errCh:=make(chanerror,1)
378378
prChan:=make(chan*ipnstate.PingResult,1)
379-
goc.wireguardEngine.Ping(ip,tailcfg.PingTSMP,func(pr*ipnstate.PingResult) {
379+
goc.wireguardEngine.Ping(ip,tailcfg.PingDisco,func(pr*ipnstate.PingResult) {
380380
ifpr.Err!="" {
381381
errCh<-xerrors.New(pr.Err)
382382
return

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp