add ability to set randomizeClientPort

This commit is contained in:
Anton Schubert 2022-06-09 21:20:11 +02:00
parent e918ea89a3
commit 34be10840c
4 changed files with 14 additions and 3 deletions

3
api.go
View file

@ -279,7 +279,8 @@ func (h *Headscale) getMapResponse(
DERPMap: h.DERPMap,
UserProfiles: profiles,
Debug: &tailcfg.Debug{
DisableLogTail: !h.cfg.LogTail.Enabled,
DisableLogTail: !h.cfg.LogTail.Enabled,
RandomizeClientPort: h.cfg.RandomizeClientPort,
},
}