From owner-cvs-all Sat Aug 11 8: 1:17 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 67BB237B408; Sat, 11 Aug 2001 08:01:12 -0700 (PDT) (envelope-from ume@FreeBSD.org) Received: (from ume@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7BF1CO20457; Sat, 11 Aug 2001 08:01:12 -0700 (PDT) (envelope-from ume) Message-Id: <200108111501.f7BF1CO20457@freefall.freebsd.org> From: Hajimu UMEMOTO Date: Sat, 11 Aug 2001 08:01:12 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/net res_init.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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