This commit is contained in:
2026-02-19 10:07:43 +00:00
parent 007438e372
commit 6e637ecf77
1763 changed files with 60820 additions and 279516 deletions

View File

@@ -9,9 +9,9 @@ import (
"fmt"
"net/netip"
"strings"
"sync"
"time"
"tailscale.com/syncs"
"tailscale.com/util/mak"
)
@@ -22,7 +22,7 @@ import (
// ask tailscaled (via the LocalAPI WhoIs method) the Tailscale identity that a
// given localhost:port corresponds to.
type Mapper struct {
mu sync.Mutex
mu syncs.Mutex
// m holds the mapping from localhost IP:ports to Tailscale IPs. It is
// keyed first by the protocol ("tcp" or "udp"), then by the IP:port.