ipn, wgengine/filter: remove exported type aliases

This commit is contained in:
Brad Fitzpatrick
2020-05-11 07:19:17 -07:00
parent 8b0be7475b
commit 8a3e77fc43
6 changed files with 28 additions and 28 deletions
+3 -2
View File
@@ -9,6 +9,7 @@ import (
"time"
"github.com/tailscale/wireguard-go/wgcfg"
"tailscale.com/control/controlclient"
"tailscale.com/types/logger"
)
@@ -20,7 +21,7 @@ type Handle struct {
// Mutex protects everything below
mu sync.Mutex
netmapCache *NetworkMap
netmapCache *controlclient.NetworkMap
engineStatusCache EngineStatus
stateCache State
prefsCache *Prefs
@@ -127,7 +128,7 @@ func (h *Handle) LocalAddrs() []wgcfg.CIDR {
return []wgcfg.CIDR{}
}
func (h *Handle) NetMap() *NetworkMap {
func (h *Handle) NetMap() *controlclient.NetworkMap {
h.mu.Lock()
defer h.mu.Unlock()