From owner-cvs-all@FreeBSD.ORG Fri Apr 29 19:55:23 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E34BB16A4CF; Fri, 29 Apr 2005 19:55:23 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABA2543D2D; Fri, 29 Apr 2005 19:55:23 +0000 (GMT) (envelope-from ume@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3TJtNWO080222; Fri, 29 Apr 2005 19:55:23 GMT (envelope-from ume@repoman.freebsd.org) Received: (from ume@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3TJtNRI080221; Fri, 29 Apr 2005 19:55:23 GMT (envelope-from ume) Message-Id: <200504291955.j3TJtNRI080221@repoman.freebsd.org> From: Hajimu UMEMOTO Date: Fri, 29 Apr 2005 19:55:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/net gethostbydns.c gethostnamadr.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2005 19:55:24 -0000 ume 2005-04-29 19:55:23 UTC FreeBSD src repository Modified files: lib/libc/net gethostbydns.c gethostnamadr.c Log: - do validation check and IPv4-mapped IPv6 address handling before any query. - don't query against IPv6 link-local address. - use IN6_IS_ADDR_V4{MAPPED,COMPAT} macros. - use memcpy() instead of bcopy(). Inspired by: NetBSD Revision Changes Path 1.54 +5 -35 src/lib/libc/net/gethostbydns.c 1.27 +36 -1 src/lib/libc/net/gethostnamadr.c