Propagate dns config vales across Headscale

This commit is contained in:
Juan Font Alonso
2021-10-02 11:20:42 +02:00
parent 5dbf6b5127
commit 656237e167
6 changed files with 42 additions and 22 deletions

View File

@@ -440,7 +440,7 @@ func (h *Headscale) scheduledPollWorker(
case <-updateCheckerTicker.C:
// Send an update request regardless of outdated or not, if data is sent
// to the node is determined in the updateChan consumer block
n, _ := m.toNode(true)
n, _ := h.toNode(m, true)
err := h.sendRequestOnUpdateChannel(n)
if err != nil {
log.Error().