Bug 8553 - wait option in ping doesn't function
Summary: wait option in ping doesn't function
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: netkit-base
Version: 6.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-01-17 23:31 UTC by itris
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-01-17 23:45:53 UTC


Attachments (Terms of Use)

Description itris 2000-01-17 23:31:36 UTC
man ping says:
     -w waitsecs
             Stop ping execution after waitsec seconds. This option is
useful
             when trying to ping unreachable hosts.


However,
for hosts that are down (and therefore don't respond) this option does NOT
work. ping will wait indefinately untill the user kills ping.

The wait option therefore becomes rather unusefull.

note: The host MUST be a valid host with a valid route, etc, and would
normally reply correctly if it were up and running.

best way to verify:
ping a host (ping -w 4 <ip>) and notice it'll stop after 4 sec's.
pull the plug on that host.
ping the host again, and notice ping won't stop after 4 sec's (it won't
ever stop).

Comment 1 itris 2000-01-17 23:45:59 UTC
Problem has been resolved with ping in 19990107 rawhide iputils package.


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