Package: iputils-ping
Version: 3:20070202-3

thule:~# ping -w 120 -c 1 thule-3
PING thule-3 (***.37.54) 56(84) bytes of data.
>From thule.uk.xensource.com (***.33.107) icmp_seq=1 Destination Host 
>Unreachable
>From thule.uk.xensource.com (***.33.107) icmp_seq=2 Destination Host 
>Unreachable
>From thule.uk.xensource.com (***.33.107) icmp_seq=3 Destination Host 
>Unreachable

--- thule-3 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2009ms
, pipe 3
thule:~# echo $? 
1
thule:~#

This is a less than helpful behaviour, particularly with modern
kernels which send host unreachable when the host is not replying to
arp.  It makes -w useless in most of the situations where you might
want it.

Ian.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to