Bug 9883 - ping -c option does terminate if destination is unreachable
Summary: ping -c option does terminate if destination is unreachable
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: iputils
Version: 6.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Crutcher Dunnavant
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-03-01 09:45 UTC by Debasis
Modified: 2008-05-01 15:37 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2000-03-05 17:31:37 UTC


Attachments (Terms of Use)

Description Debasis 2000-03-01 09:45:34 UTC
ping command comes with Readhat 6.1 does not terminate with -c option while
the command comes with 6.0 terminate after given packets trasfered in case
of unreachable or reachable host.

for testing i used:

ping -c 2 1.1.1.1     (where 1.1.1.1 is a bogus IP. )

the ping din't terminate ...but man page says it should.

debasis
debasis@vol.net.in

Comment 1 Jeff Johnson 2000-03-05 17:31:59 UTC
The behavior of ping has changed, you need to specify both "-c <npackets>"
and "-w <nsecs>" to terminate ping with an unreachable host.

Look for iputils-20000120-1 (the package that now contains ping) in Raw Hide.


Note You need to log in before you can comment on or make changes to this bug.