ipn/ipnlocal: fix deadlock from 227f73284

Sigh.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick 2021-04-09 13:23:34 -07:00
parent 227f73284f
commit 11127666b2

View File

@ -1687,7 +1687,7 @@ func (b *LocalBackend) initPeerAPIListener() {
b.peerAPIListeners = append(b.peerAPIListeners, pln) b.peerAPIListeners = append(b.peerAPIListeners, pln)
} }
b.doSetHostinfoFilterServices(b.hostinfo) go b.doSetHostinfoFilterServices(b.hostinfo.Clone())
} }
// magicDNSRootDomains returns the subset of nm.DNS.Domains that are the search domains for MagicDNS. // magicDNSRootDomains returns the subset of nm.DNS.Domains that are the search domains for MagicDNS.