summaryrefslogtreecommitdiffhomepage
path: root/control/controlclient/map.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josh@tailscale.com>2021-09-16 16:50:31 -0700
committerJosh Bleecher Snyder <josh@tailscale.com>2021-09-17 16:47:00 -0700
commitc7b75465871eb911df4e1ff91a57b9c91c279111 (patch)
tree0b7975a92a5f53ad27ee78525ae4e5660d34c7fe /control/controlclient/map.go
parentb14db5d943b84be3c9f3a909c18c9af4012523dd (diff)
downloadtailscale-josh/immutable-views.tar.xz
tailscale-josh/immutable-views.zip
Next up: view support for maps, etc.
Diffstat (limited to 'control/controlclient/map.go')
-rw-r--r--control/controlclient/map.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/control/controlclient/map.go b/control/controlclient/map.go
index 40d3109e3..f4df7609b 100644
--- a/control/controlclient/map.go
+++ b/control/controlclient/map.go
@@ -139,7 +139,7 @@ func (ms *mapSession) netmapForResponse(resp *tailcfg.MapResponse) *netmap.Netwo
}
ms.addUserProfile(nm.User)
- magicDNSSuffix := nm.MagicDNSSuffix()
+ magicDNSSuffix := nm.View().MagicDNSSuffix()
if nm.SelfNode != nil {
nm.SelfNode.InitDisplayNames(magicDNSSuffix)
}