Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2001 15:47:23 GMT
From:      djones@zoonami.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/32354: ping -c 0
Message-ID:  <200111281547.fASFlNM33441@topcat.zoonami.com>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111281547.fASFlNM33441>