net/dns: fix FreeBSD build

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/1704/head
Brad Fitzpatrick 2021-04-13 17:38:17 -07:00
parent 84bd50329a
commit c2ca2ac8c4
1 changed files with 5 additions and 0 deletions

View File

@ -6,6 +6,11 @@ package dns
import "tailscale.com/types/logger"
func isResolvconfActive() bool {
// TODO(danderson): implement somewhere.
return false
}
func NewOSConfigurator(logf logger.Logf, _ string) (OSConfigurator, error) {
switch {
case isResolvconfActive():