diff --git a/handlers.go b/handlers.go index 7b29d9d0..dfda0c2a 100644 --- a/handlers.go +++ b/handlers.go @@ -266,7 +266,8 @@ func (h *Headscale) getMapResponse(mKey wgcfg.Key, req tailcfg.MapRequest, m Mac PacketFilter: tailcfg.FilterAllowAll, DERPMap: h.cfg.DerpMap, UserProfiles: []tailcfg.UserProfile{}, - Roles: []tailcfg.Role{}} + Roles: []tailcfg.Role{}, + } var respBody []byte if req.Compress == "zstd" {