net/dns: rename Config to OSConfig.
Making way for a new higher level config struct. Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:

committed by
Dave Anderson

parent
fcfc0d3a08
commit
8af9d770cf
@ -116,7 +116,7 @@ func newResolvconfManager(logf logger.Logf) managerImpl {
|
||||
const resolvconfConfigName = "tun-tailscale.inet"
|
||||
|
||||
// Up implements managerImpl.
|
||||
func (m resolvconfManager) Up(config Config) error {
|
||||
func (m resolvconfManager) Up(config OSConfig) error {
|
||||
stdin := new(bytes.Buffer)
|
||||
writeResolvConf(stdin, config.Nameservers, config.Domains) // dns_direct.go
|
||||
|
||||
|
Reference in New Issue
Block a user