From 93c711d2d8bdda13c0561ba55fec78321170ad55 Mon Sep 17 00:00:00 2001 From: Juan Font Alonso Date: Wed, 24 Feb 2021 00:31:58 +0100 Subject: [PATCH] Minor thing --- handlers.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" {