mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-03 02:21:58 +00:00
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
@@ -62,7 +62,7 @@ func newNMManager(interfaceName string) managerImpl {
|
||||
type nmConnectionSettings map[string]map[string]dbus.Variant
|
||||
|
||||
// Up implements managerImpl.
|
||||
func (m nmManager) Up(config Config) error {
|
||||
func (m nmManager) Up(config OSConfig) error {
|
||||
ctx, cancel := context.WithTimeout(context.Background(), reconfigTimeout)
|
||||
defer cancel()
|
||||
|
||||
@@ -201,5 +201,5 @@ func (m nmManager) Up(config Config) error {
|
||||
|
||||
// Down implements managerImpl.
|
||||
func (m nmManager) Down() error {
|
||||
return m.Up(Config{Nameservers: nil, Domains: nil})
|
||||
return m.Up(OSConfig{Nameservers: nil, Domains: nil})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user