timeout option in ping6
Thomas Steen Rasmussen
thomas at gibfest.dk
Fri Jan 16 09:46:05 UTC 2015
On 16-01-2015 09:03, Andrey V. Elsukov wrote:
> On 14.01.2015 16:49, Thomas Steen Rasmussen wrote:
>> Hello list,
>>
>> Can we please get a timeout option for ping6?
>>
>> There is a PR open for this:
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183787
>>
>> There is also a patch for ping6 by hrs@ in this other PR:
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=151023
>>
>> I was hoping that someone(tm) would take the patch or something similar
>> and commit it :)
>
> ping6 already has -x and -X options:
>
> -x waittime
> Time in milliseconds to wait for a reply for each packet sent.
> If a reply arrives later, the packet is not printed as replied,
> but considered as replied when calculating statistics.
>
> -X timeout
> Specify a timeout, in seconds, before ping exits regardless of
> how many packets have been received.
>
Hello,
So it does! On head at least. I didn't notice that, but thats great! :)
10-stable and 9-stable are not so lucky though. Any chance of this
commit http://svnweb.freebsd.org/base?view=revision&revision=273211
getting an MFC?
Thanks :)
/Thomas
More information about the freebsd-net
mailing list