Date: Wed, 24 Oct 2001 12:37:08 -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: <200110241937.f9OJb8m90650@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ume 2001/10/24 12:37:08 PDT
Modified files: (Branch: RELENG_4)
lib/libc/net res_init.c
Log:
MFC 1.25: 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().
Revision Changes Path
1.19.2.6 +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?200110241937.f9OJb8m90650>
