aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/net/conf.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/net/conf.go')
-rw-r--r--libgo/go/net/conf.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/net/conf.go b/libgo/go/net/conf.go
index fe7ebf1..6edecaf 100644
--- a/libgo/go/net/conf.go
+++ b/libgo/go/net/conf.go
@@ -3,12 +3,12 @@
// license that can be found in the LICENSE file.
//go:build aix || darwin || dragonfly || freebsd || hurd || linux || netbsd || openbsd || solaris
-// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
package net
import (
"internal/bytealg"
+ "internal/godebug"
"os"
"runtime"
"sync"
@@ -287,7 +287,7 @@ func (c *conf) hostLookupOrder(r *Resolver, hostname string) (ret hostLookupOrde
// cgo+2 // same, but debug level 2
// etc.
func goDebugNetDNS() (dnsMode string, debugLevel int) {
- goDebug := goDebugString("netdns")
+ goDebug := godebug.Get("netdns")
parsePart := func(s string) {
if s == "" {
return