From owner-freebsd-bugs Wed Nov 28 7:50:15 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 60DC337B41A for ; Wed, 28 Nov 2001 07:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fASFo1L57720; Wed, 28 Nov 2001 07:50:01 -0800 (PST) (envelope-from gnats) Received: from topcat.zoonami.com (topcat.zoonami.com [193.112.141.198]) by hub.freebsd.org (Postfix) with ESMTP id 0073E37B405 for ; Wed, 28 Nov 2001 07:46:00 -0800 (PST) Received: (from root@localhost) by topcat.zoonami.com (8.11.3/8.11.3) id fASFlNM33441; Wed, 28 Nov 2001 15:47:23 GMT (envelope-from djones) Message-Id: <200111281547.fASFlNM33441@topcat.zoonami.com> Date: Wed, 28 Nov 2001 15:47:23 GMT From: djones@zoonami.com Reply-To: root@topcat.zoonami.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/32354: ping -c 0 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32354 >Category: bin >Synopsis: # "ping -l 5 -c 0 gateway", slightly unreasonably, gives an error. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Nov 28 07:50:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: David Jones >Release: FreeBSD 4.3-RELEASE i386 >Organization: Zoonami Limited >Environment: System: FreeBSD topcat.zoonami.com 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Thu Nov 1 14:13:13 GMT 2001 root@topcat.zoonami.com:/usr/src/sys/compile/GENERIC i386 >Description: At the command line: # ping -l 5 -c 0 gateway yields the error: ping: invalid count of packets to transmit: `0' whereas in this case I think -c 0 specifies something reasonable: Send 5 packets as quickly as possible, then no more, then exit. Perhaps it could be changed to accept -c 0 if -l has been used? >How-To-Repeat: as above >Fix: later >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message