diff --git a/hub/executor/executor.go b/hub/executor/executor.go index a92aaee6..8f911840 100644 --- a/hub/executor/executor.go +++ b/hub/executor/executor.go @@ -248,9 +248,9 @@ func updateGeneral(general *config.General, force bool) { tunnel.SetMode(general.Mode) dialer.DisableIPv6 = !general.IPv6 if !dialer.DisableIPv6 { - resolver.DisableIPv6 = false - } else { log.Infoln("Use IPv6") + } else { + resolver.DisableIPv6 = true } dialer.TCPConcurrent = general.TCPConcurrent