Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2000 12:21:48 -0700
From:      "Andrey A. Chernov" <ache@freebsd.org>
To:        current@freebsd.org
Cc:        ume@freebsd.org
Subject:   res_init.c 1.20 broke non-INET6 kernel!
Message-ID:  <20000614122148.A14919@freebsd.org>

next in thread | raw e-mail | index | archive | help
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
<ache@nagual.pp.ru>
http://ache.pp.ru/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000614122148.A14919>