Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 9883

Summary: ping -c option does terminate if destination is unreachable
Product: [Retired] Red Hat Linux Reporter: Debasis <debasis>
Component: iputilsAssignee: Crutcher Dunnavant <crutcher>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-03-05 17:31:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.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.