1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

Minor thing

This commit is contained in:
Juan Font Alonso 2021-02-24 00:31:58 +01:00
parent 06fb7d4587
commit 93c711d2d8

View File

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