mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
14 lines
473 B
Go
14 lines
473 B
Go
|
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
|
package magicsock
|
||
|
|
||
|
// startPathFinder initializes the atomicSendFunc, and
|
||
|
// will eventually kick off a goroutine that monitors whether
|
||
|
// that sendFunc is still the best option for the endpoint
|
||
|
// to use and adjusts accordingly.
|
||
|
func (de *endpoint) startPathFinder() {
|
||
|
de.pathFinderRunning = true
|
||
|
}
|