mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-03 02:21:58 +00:00
net/dns: rename resolvconf.go to debian_resolvconf.go.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
@@ -9,12 +9,7 @@ import "tailscale.com/types/logger"
|
||||
func NewOSConfigurator(logf logger.Logf, _ string) OSConfigurator {
|
||||
switch {
|
||||
case isResolvconfActive():
|
||||
if resolvconfIsOpenresolv() {
|
||||
return newOpenresolvManager()
|
||||
} else {
|
||||
// Debian resolvconf
|
||||
return newResolvconfManager(logf)
|
||||
}
|
||||
return newResolvconfManager(logf)
|
||||
default:
|
||||
return newDirectManager()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user