Date: Sat, 11 Aug 2001 08:01:12 -0700 (PDT) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/net res_init.c Message-ID: <200108111501.f7BF1CO20457@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ume 2001/08/11 08:01:12 PDT
Modified files:
lib/libc/net res_init.c
Log:
Fill _res.sort_list with harmless entry. sortlist for IPv6/IPv4
is stored in _res_ext.sort_list, and sortlist for IPv4 is stored in
_res.sort_list for backward compatibility. However, both sort_list's
are maintaind by just one index _res.nsort. So, when IPv6 address is
specified to sortlist, empty entry was created in _res.sort_list. It
broke sortlist facility of gethostbyname().
Discussed on users@jp.ipv6.org.
Revision Changes Path
1.25 +4 -1 src/lib/libc/net/res_init.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108111501.f7BF1CO20457>
