net/dns: add GOOS build tags

Fixes #1786

Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>
main
Josh Bleecher Snyder 5 years ago committed by Brad Fitzpatrick
parent b7e31ab1a4
commit 20e04418ff
  1. 2
      cmd/tailscaled/depaware.txt
  2. 2
      net/dns/debian_resolvconf.go
  3. 2
      net/dns/direct.go
  4. 2
      net/dns/openresolv.go
  5. 2
      net/dns/resolvconf.go
  6. 2
      wgengine/router/router_test.go

@ -221,7 +221,7 @@ tailscale.com/cmd/tailscaled dependencies: (generated by github.com/tailscale/de
debug/elf from rsc.io/goversion/version
debug/macho from rsc.io/goversion/version
debug/pe from rsc.io/goversion/version
embed from tailscale.com/net/dns
L embed from tailscale.com/net/dns
encoding from encoding/json+
encoding/asn1 from crypto/x509+
encoding/base64 from encoding/json+

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build linux freebsd openbsd
package dns
import (

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build linux freebsd openbsd
package dns
import (

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build linux freebsd openbsd
package dns
import (

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build linux freebsd openbsd
package dns
import (

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build linux windows
package router
import "inet.af/netaddr"

Loading…
Cancel
Save