[email protected] said:
> It it called newpeer() there would be no problem.  That function tests for
> NTP_MAXPOLL_UNK and handles the case. 

Yes, but your code is buggy.

Here is your code (with a few lines omitted):

        if (NTP_MAXPOLL_UNK == maxpoll)
            /* not set yet, set to default */
            peer->maxpoll = NTP_MAXDPOLL;
        peer->maxpoll = max(maxpoll, NTP_MINPOLL);


-- 
These are my opinions.  I hate spam.



_______________________________________________
devel mailing list
[email protected]
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to