From owner-cvs-all@FreeBSD.ORG Wed Mar 1 16:13:19 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 0EB0716A420; Wed, 1 Mar 2006 16:13:19 +0000 (GMT) (envelope-from ume@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99C2543D68; Wed, 1 Mar 2006 16:13:18 +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 k21GDIpk043440; Wed, 1 Mar 2006 16:13:18 GMT (envelope-from ume@repoman.freebsd.org) Received: (from ume@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k21GDI1V043439; Wed, 1 Mar 2006 16:13:18 GMT (envelope-from ume) Message-Id: <200603011613.k21GDI1V043439@repoman.freebsd.org> From: Hajimu UMEMOTO Date: Wed, 1 Mar 2006 16:13:17 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/libexec/ftpd ftpd.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 01 Mar 2006 16:13:19 -0000 ume 2006-03-01 16:13:17 UTC FreeBSD src repository Modified files: libexec/ftpd ftpd.c Log: - Reduce needless DNS query by lookup only appropriate address family. [1] - Specify appropriate hints to getaddrinfo(3). [1] - Obtain address family from peername in inet mode. Submitted by: Rostislav Krasny [1] Tested by: yar, Rostislav Krasny MFC after: 1 week Revision Changes Path 1.210 +20 -10 src/libexec/ftpd/ftpd.c