net/dns: fix the build on freebsd (missing default case in switch)

Signed-off-by: David Anderson <danderson@tailscale.com>
pull/2805/head
David Anderson 3 years ago committed by Dave Anderson
parent b3b1c06b3a
commit bb6fdfb243

@ -30,6 +30,9 @@ func NewOSConfigurator(logf logger.Logf, _ string) (OSConfigurator, error) {
return newDebianResolvconfManager(logf)
case "openresolv":
return newOpenresolvManager()
default:
logf("[unexpected] got unknown flavor of resolvconf %q, falling back to direct manager", resolvconfStyle())
return newDirectManager(), nil
}
default:
return newDirectManager(), nil

Loading…
Cancel
Save