Refclock polling ramp up

Hal Murray hmurray at megapathdsl.net
Wed Jul 6 07:26:31 UTC 2016


I just pushed a fix.  Would you please sanity check...


For servers, minpoll and maxpoll default to 6 and 10.  There is also a check 
to make sure that minpoll isn't greater than maxpoll.

For refclocks, minpoll defaults to 6 and maxpoll defaults to minpoll.

The problem is that you were storing maxpoll and friends in a peer struct and 
by the time you were checking to see if it needed a default, it had already 
been defaulted by newpeer so the test was testing clobbered data.

-- 
These are my opinions.  I hate spam.





More information about the devel mailing list