Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2015 11:03:26 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Thomas Steen Rasmussen <thomas@gibfest.dk>, freebsd-net@freebsd.org,  hrs@freebsd.org
Subject:   Re: timeout option in ping6
Message-ID:  <54B8C5CE.7080903@yandex.ru>
In-Reply-To: <54B67405.4010203@gibfest.dk>
References:  <54B67405.4010203@gibfest.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54B8C5CE.7080903>