From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 23 14:26:22 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BDDA16A4CF; Tue, 23 Mar 2004 14:26:22 -0800 (PST) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 409F143D2F; Tue, 23 Mar 2004 14:26:21 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 23 Mar 2004 22:26:20 +0000 (GMT) Date: Tue, 23 Mar 2004 22:26:19 +0000 From: David Malone To: Hajimu UMEMOTO Message-ID: <20040323222619.GA6750@walton.maths.tcd.ie> References: <20040312010000.GA9949@Odin.AC.HMC.Edu> <200403121051.aa75277@salmon.maths.tcd.ie> <20040312170629.GB7661@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.3i Sender: dwmalone@maths.tcd.ie cc: hackers@FreeBSD.org cc: dwmalone@FreeBSD.org Subject: Re: inetd needs "discard" service in /etc/services X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2004 22:26:22 -0000 On Wed, Mar 24, 2004 at 02:20:26AM +0900, Hajimu UMEMOTO wrote: > How about this patch? Looks good to me, if it fixes Brooks's problem. > brooks> The real problem is that we should either not use getaddrinfo to make > brooks> sockaddrs or we should do it on demand when we actually have what we > brooks> need (i.e. a service name and protocol). > > It seems NetBSD's inetd do it on demand. I guess I should look at importing NetBSD's way of doing it. David.