Date: Fri, 10 Aug 2001 18:25:10 +0400 (MSD) From: Maxim Konovalov <maxim@macomnet.ru> To: Peter Pentchev <roam@ringlet.net> Cc: <net@FreeBSD.ORG> Subject: Re: getaddrinfo() returning AF_INET only? Message-ID: <Pine.BSF.4.33.0108101819260.82870-100000@news1.macomnet.ru> In-Reply-To: <20010810163757.B14158@ringworld.oblivion.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, > 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 I believe you are speaking about struct addrinfo hint.ai_family = PF_INET; > getaddrinfo(3) have an IPv4-only command-line option, but is there a > way to turn it on globally? resolver(3) mentions RES_OPTIONS > G'luck, > Peter HTH - -maxim -- Maxim Konovalov, MAcomnet, Internet-Intranet Dept., system engineer phone: +7 (095) 796-9079, mailto: maxim@macomnet.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0108101819260.82870-100000>