From Bugzilla Helper: User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.4.4 i686) Description of problem: When using ping with the -w option, ping gives an incorrect return value if no packets are received. How reproducible: Always Steps to Reproduce: 1. run ping with -w option: i.e. ping <target> -w 1 Actual Results: If no packets are received, ping will return a value of 0. Expected Results: Ping should return a value of 1 when no packets are received. Additional info: Looking at the ping source code from iputils-20000418-6, the line: exit(deadline ? (nreceived<npackets) : nreceived==0); should be exit(deadline ? (nreceived<npackets) || (nreceived == 0) : nreceived==0); Bug is reproducible with iputils-20001110-1 as well.
OK, checked, will fix for next update. Read ya, Phil
Fixed in rawhide. Read ya, Phil