Do not use the full application for getMapResponseDNSConfig
This commit is contained in:
parent
01f755ecf9
commit
687e8d12be
2 changed files with 7 additions and 7 deletions
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").
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue