Subject: Re: "-w deadline" bug in ping/iputils- i will provide fix if you can tell me where owner of iputils is. Thanks.

From: YOSHIFUJI Hideaki <[email-masked]>
Date: Tue, 10 Jan 2012 12:54:47 +0900

Hello.

Cloutier, Joseph (Joseph) wrote:
> I have made a fix for the "-w deadline" issue to iputils-s20101006.tar.bz2.  There are 4 places in the code with the fix, identified by my name, Joe Cloutier- ALU.
>>
>>  There are 2 bugs fixed:
>>  *       For flood pings if the "-w" option is set then more pings than "-c x" are sent out.
>>  *       The "-w x" timer should be set after he last "-c x" ping is sent out.

Is this a real bug?

If both of -c COUNT and -w TIMEOUT are specified, ping exits by
timer _OR_ by the counter regardless of -f option.

If you want to ping really COUNT times, try -W TIMEOUT option.

... And please send your changes in the patch (or unified diff;
diff -u) format with your appropriate "sign-off" line, next time.

Thanks.

--yoshfuji