mirror of https://github.com/tailscale/tailscale/
Add default DnsMode function for non-linux platforms
Signed-off-by: Ghvstcode <impoissants@gmail.com>pull/10542/head
parent
fbfae42811
commit
3451d9ea4c
@ -0,0 +1,9 @@
|
||||
//go:build !linux
|
||||
|
||||
package dns
|
||||
|
||||
// GetGlobalDnsMode exists to make the build happy on non-linux platforms.
|
||||
// The actual implementation is in manager_linux.go & in there it safely returns the current resolv.conf mode
|
||||
func GetGlobalDnsMode() string {
|
||||
return ""
|
||||
}
|
Loading…
Reference in New Issue