From owner-freebsd-current Wed Jun 14 12:21:50 2000 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 542) id EC37637BADC; Wed, 14 Jun 2000 12:21:48 -0700 (PDT) Date: Wed, 14 Jun 2000 12:21:48 -0700 From: "Andrey A. Chernov" To: current@freebsd.org Cc: ume@freebsd.org Subject: res_init.c 1.20 broke non-INET6 kernel! Message-ID: <20000614122148.A14919@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i Organization: Biomechanoid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG All nameservers are initialized to AF_INET6 which cause socket() to return -1 in non-INET6 kernel. All names lookups fails as result. I think IPV6 support is optional, isn't? Moreover, this code is very strange looking by itself, because res_update() reinitialize all nameservers back to AF_INET -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message