From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 16 22:24:25 2007 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5644316A469; Fri, 16 Nov 2007 22:24:25 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.freebsd.org (Postfix) with ESMTP id B9AA213C458; Fri, 16 Nov 2007 22:24:24 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost.int.ru [127.0.0.1] (may be forged)) by mp2.macomnet.net (8.13.7/8.13.8) with ESMTP id lAGM5BAF071577; Sat, 17 Nov 2007 01:05:12 +0300 (MSK) (envelope-from maxim@macomnet.ru) Date: Sat, 17 Nov 2007 01:05:11 +0300 (MSK) From: Maxim Konovalov To: Dima Dorfman In-Reply-To: <20071115120112.GG1288@beaver.trit.net> Message-ID: <20071117010338.Y24106@mp2.macomnet.net> References: <20071115120112.GG1288@beaver.trit.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: hackers@freebsd.org Subject: Re: Patch for ping6 -o X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2007 22:24:25 -0000 On Thu, 15 Nov 2007, 12:01-0000, Dima Dorfman wrote: > The ping(8) utility has an -o switch that tells it to exit after > receiving the first reply. This is useful, but ping6(8) doesn't have > it. > > Simple patch attached. > > Comments/reviews/whatnots? > > I'll commit to HEAD in a few days if I don't hear any objections. > You forgot to update usage(). -- Maxim Konovalov