This commit is contained in:
bluepython508 committed 2026-02-19 10:07:43 +00:00
1 parent 007438e372
commit 6e637ecf77
1763 files changed
+60820 -279516

No files matched your search

+2 -2
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.