timeout option in ping6
Andrey V. Elsukov
bu7cher at yandex.ru
Fri Jan 16 08:04:30 UTC 2015
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.
--
WBR, Andrey V. Elsukov
More information about the freebsd-net
mailing list