net/dns/resolver: remove the Config struct.

In preparation for reintroducing a runtime reconfig Config struct.

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson
2021-03-31 22:13:23 -07:00
parent bc81dd4690
commit 075fb93e69
3 changed files with 23 additions and 54 deletions

View File

@@ -219,11 +219,7 @@ func NewUserspaceEngine(logf logger.Logf, conf Config) (_ Engine, reterr error)
e.linkMonOwned = true
}
e.resolver = resolver.New(resolver.Config{
Logf: logf,
Forward: true,
LinkMonitor: e.linkMon,
})
e.resolver = resolver.New(logf, e.linkMon)
logf("link state: %+v", e.linkMon.InterfaceState())