Re: res_init.c 1.20 broke non-INET6 kernel!

2000-06-14 Thread 梅本 肇
> On Wed, 14 Jun 2000 12:21:48 -0700 > "Andrey A. Chernov" <[EMAIL PROTECTED]> said: ache> All nameservers are initialized to AF_INET6 which cause socket() to return -1 ache> in non-INET6 kernel. ache> All names lookups fails as result. Oops, sorry. I'll backout previous commit right

Re: res_init.c 1.20 broke non-INET6 kernel!

2000-06-14 Thread Andrey A. Chernov
On Wed, Jun 14, 2000 at 12:21:48PM -0700, Andrey A. Chernov wrote: > All nameservers are initialized to AF_INET6 which cause socket() to return -1 > in non-INET6 kernel. > > All names lookups fails as result. Returning res_init.c to 1.19 and res_send.c to 1.32 solve this thing. -- Andrey A. C

res_init.c 1.20 broke non-INET6 kernel!

2000-06-14 Thread Andrey A. Chernov
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_I