net/dns: remove Cleanup manager parameter.
It's only use to skip some optional initialization during cleanup, but that work is very minor anyway, and about to change drastically. Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
@@ -94,7 +94,6 @@ func Cleanup(logf logger.Logf, interfaceName string) {
|
||||
mconfig := ManagerConfig{
|
||||
Logf: logf,
|
||||
InterfaceName: interfaceName,
|
||||
Cleanup: true,
|
||||
}
|
||||
dns := NewManager(mconfig)
|
||||
if err := dns.Down(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user