From owner-freebsd-questions Tue Aug 7 4:14:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ringworld.nanolink.com (discworld.nanolink.com [217.75.135.248]) by hub.freebsd.org (Postfix) with SMTP id BD58E37B403 for ; Tue, 7 Aug 2001 04:14:08 -0700 (PDT) (envelope-from roam@ringlet.net) Received: (qmail 60099 invoked by uid 1000); 7 Aug 2001 11:12:54 -0000 Date: Tue, 7 Aug 2001 14:12:54 +0300 From: Peter Pentchev To: questions@FreeBSD.org Subject: getaddrinfo() returning AF_INET only? Message-ID: <20010807141254.F54952@ringworld.oblivion.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, Is there a configuration file or environment variable or some other way to make getaddrinfo(3) not return AF_INET6 addresses even if those are available? I know that most utilities that use getaddrinfo(3) have an IPv4-only command-line option, but is there a way to turn it on globally? G'luck, Peter -- If the meanings of 'true' and 'false' were switched, then this sentence wouldn't be false. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message