[Nagiosplug-devel] check_icmp RTA calculation issue

Hiren Patel hir3npatel at gmail.com
Mon Jun 15 14:44:52 CEST 2009


matthias eble wrote:
>> --- plugins-root/check_icmp.c	2009-06-12 09:43:54.000000000 +0200
>> +++ /tmp/check_icmp.c	2009-06-14 13:37:34.000000000 +0200
>> @@ -1035,7 +1035,7 @@
>>  	if(!early) early = &prog_start;
>>  
>>  	/* if early > later we return 0 so as to indicate a timeout */
>> -	if(early->tv_sec > early->tv_sec ||
>> +	if(early->tv_sec > later->tv_sec ||
>>  	   (early->tv_sec == later->tv_sec && early->tv_usec > later->tv_usec))
>>  	{
>>  		return 0;
> 
> I committed the change to git yesterday.
> Thanks to both of you.
> As a sidenote, fixing the clock issue would still be a good idea.
> 
excuse my ignorance, which clock issue would you be referring to here?





More information about the Devel mailing list