Make displayName include basedomain if set

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby authored and Juan Font committed 2022-11-22 19:16:58 +01:00
1 parent e7f322b9b6
commit 99e33181b2
3 files changed
+13 -4

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ func (h *Headscale) generateMapResponse(
return nil, err
}
profiles := getMapResponseUserProfiles(*machine, peers)
profiles := h.getMapResponseUserProfiles(*machine, peers)
nodePeers, err := peers.toNodes(h.cfg.BaseDomain, h.cfg.DNSConfig)
if err != nil {