ipn/ipnlocal: fix deadlock from 227f73284

Sigh.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/1715/head
Brad Fitzpatrick 3 years ago
parent 227f73284f
commit 11127666b2

@ -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.

Loading…
Cancel
Save