> So, got any patch ideas? Sorry, it will be obvious after you see it.
You are fixing up the default, and then immediately overwriting that store with a new value. > if (NTP_MAXPOLL_UNK == maxpoll) > /* not set yet, set to default */ > peer->maxpoll = NTP_MAXDPOLL; > peer->maxpoll = max(maxpoll, NTP_MINPOLL); Change the peer->maxpoll = NTP_MAXDPOLL to maxpoll = NTP_MAXDPOLL I haven't tried it yet, but that's clearly a bug. -- These are my opinions. I hate spam. _______________________________________________ devel mailing list [email protected] http://lists.ntpsec.org/mailman/listinfo/devel
