From 6cd919d41144faf3373e989fb5fd89962f287800 Mon Sep 17 00:00:00 2001 From: Lealem Amedie Date: Tue, 5 May 2026 13:34:20 -0600 Subject: [PATCH] mapper: include UserProfiles in policy-change MapResponses --- hscontrol/mapper/mapper.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hscontrol/mapper/mapper.go b/hscontrol/mapper/mapper.go index ab2399a5..4df73933 100644 --- a/hscontrol/mapper/mapper.go +++ b/hscontrol/mapper/mapper.go @@ -239,7 +239,10 @@ func (m *mapper) policyChangeResponse( // Send remaining peers in PeersChanged - their AllowedIPs may have // changed due to the policy update (e.g., different routes allowed). + // Cross-user peers must also carry their user profile, otherwise the + // client's netmap shows the peer without a UserProfiles[user] entry. if currentPeers.Len() > 0 { + builder.WithUserProfiles(currentPeers) builder.WithPeerChanges(currentPeers) }