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

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



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