net/dns: rename Set to SetDNS in OSConfigurator.
wgengine/router.CallbackRouter needs to support both the Router and OSConfigurator interfaces, so the setters can't both be called Set. Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
committed by
Dave Anderson
parent
7d84ee6c98
commit
b2a597b288
+1
-1
@@ -114,7 +114,7 @@ func newDirectManager() directManager {
|
||||
return directManager{}
|
||||
}
|
||||
|
||||
func (m directManager) Set(config OSConfig) error {
|
||||
func (m directManager) SetDNS(config OSConfig) error {
|
||||
// Write the tsConf file.
|
||||
buf := new(bytes.Buffer)
|
||||
writeResolvConf(buf, config.Nameservers, config.Domains)
|
||||
|
||||
Reference in New Issue
Block a user