mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-03 06:22:38 +09:00
Do not use the full application for getMapResponseDNSConfig
This commit is contained in:
2
api.go
2
api.go
@@ -255,7 +255,7 @@ func (h *Headscale) getMapResponse(mKey wgkey.Key, req tailcfg.MapRequest, m *Ma
|
||||
return nil, err
|
||||
}
|
||||
|
||||
dnsConfig, err := h.getMapResponseDNSConfig(*m, peers)
|
||||
dnsConfig, err := getMapResponseDNSConfig(h.cfg.DNSConfig, h.cfg.BaseDomain, *m, peers)
|
||||
if err != nil {
|
||||
log.Error().
|
||||
Str("func", "getMapResponse").
|
||||
|
||||
Reference in New Issue
Block a user