summaryrefslogtreecommitdiff
path: root/src/net/conf.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/conf.go')
-rw-r--r--src/net/conf.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/conf.go b/src/net/conf.go
index 971b1a399a..5340847123 100644
--- a/src/net/conf.go
+++ b/src/net/conf.go
@@ -69,7 +69,7 @@ func initConfVal() {
// Darwin pops up annoying dialog boxes if programs try to do
// their own DNS requests. So always use cgo instead, which
// avoids that.
- if runtime.GOOS == "darwin" {
+ if runtime.GOOS == "darwin" || runtime.GOOS == "ios" {
confVal.forceCgoLookupHost = true
return
}