[Git][NTPsec/ntpsec][master] Tweak the documentation on minpoll to admit minpoll=0.

Gary E. Miller gem at rellim.com
Sun Sep 25 05:58:51 UTC 2016


Yo Eric!

On Sat, 24 Sep 2016 21:56:19 -0400
"Eric S. Raymond" <esr at thyrsus.com> wrote:

> Gary E. Miller <gem at rellim.com>:
> > Yo Eric!
> > 
> > This needs to be reverted, or fixed.  I fixed the main config
> > code to allow minpoll=0, I did NOT change any specific refclock that
> > overrules the basic rules.o
> > 
> > refclock_jyy is one such driver:
> > 
> > refclock_jjy.c:	if ( peer->minpoll < 8 ) {
> > refclock_jjy.c:		/* minpoll must be greater or equal
> > to 8 ( 256 seconds = about 4 minutes ) */  
> 
> I'm confused. I didn't change the code at all. All I did was make the
> documentation more explicit abiut a constraint that was already there.
> 
> What is there to fix here?

-refclock jjy unit X subtype (100, 101 to 180) minpoll N;;
+refclock jjy unit X subtype (100, 101 to 180) minpoll N (N >= 8);;

Ah, sorry, I read the diff wrong.  You documented the minpoll > 9.
I read it as you removed that.  My mistake, Never, mind.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ntpsec.org/pipermail/devel/attachments/20160924/84f61496/attachment.bin>


More information about the devel mailing list