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. _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel