]>
Commit | Line | Data |
---|---|---|
6fca7355 ER |
1 | diff -up ntp-4.2.4p7/html/confopt.html.minpoll ntp-4.2.4p7/html/confopt.html |
2 | --- ntp-4.2.4p7/html/confopt.html.minpoll 2009-05-19 14:23:01.000000000 +0200 | |
3 | +++ ntp-4.2.4p7/html/confopt.html 2009-05-19 14:27:27.000000000 +0200 | |
4 | @@ -56,7 +56,7 @@ | |
5 | <dd>When the server is unreachable, send a burst of eight packets instead of the usual one. The packet spacing is normally 2 s; however, the spacing between the first and second packets can be changed with the <a href="miscopt.html"><tt>calldelay</tt></a> command to allow additional time for a modem or ISDN call to complete. This option is valid with only the <tt>server</tt> command and is a recommended option with this command.<dt><tt>key</tt> <i><tt>key</tt></i> | |
6 | <dd>All packets sent to and received from the server or peer are to include authentication fields encrypted using the specified <i><tt>key</tt></i> identifier with values from 1 to 65534, inclusive. The default is to include no encryption field. This option is valid with all commands.<dt><tt>minpoll <i>minpoll</i></tt><br> | |
7 | <tt>maxpoll <i>maxpoll</i></tt> | |
8 | - <dd>These options specify the minimum and maximum poll intervals for NTP messages, in seconds as a power of two. The maximum poll interval defaults to 10 (1,024 s), but can be increased by the <tt>maxpoll</tt> option to an upper limit of 17 (36.4 h). The minimum poll interval defaults to 6 (64 s), but can be decreased by the <tt>minpoll</tt> option to a lower limit of 4 (16 s). These option are valid only with the <tt>server</tt> and <tt>peer</tt> commands.<dt><tt>noselect</tt> | |
9 | + <dd>These options specify the minimum and maximum poll intervals for NTP messages, in seconds as a power of two. The maximum poll interval defaults to 10 (1,024 s), but can be increased by the <tt>maxpoll</tt> option to an upper limit of 17 (36.4 h). The minimum poll interval defaults to 6 (64 s), but can be decreased by the <tt>minpoll</tt> option to a lower limit of 3 (8 s). These option are valid only with the <tt>server</tt> and <tt>peer</tt> commands.<dt><tt>noselect</tt> | |
10 | <dd>Marks the server as unused, except for display purposes. The server is discarded by the selection algorithm. This option is valid only with the <tt>server</tt> and <tt>peer</tt> commands.<dt><tt>preempt</tt> | |
11 | <dd>Specifies the association as preemptable rather than the default persistent. This option is valied only with the <tt>server</tt> command.<dt><tt>prefer</tt> | |
12 | <dd>Marks the server as preferred. All other things being equal, this host will be chosen for synchronization among a set of correctly operating hosts. See the <a href="prefer.html">Mitigation Rules and the <tt>prefer</tt> Keyword</a> page for further information. This option is valid only with the <tt>server</tt> and <tt>peer</tt> commands.<dt><tt>true</tt> | |
13 | diff -up ntp-4.2.4p7/include/ntp.h.minpoll ntp-4.2.4p7/include/ntp.h | |
14 | --- ntp-4.2.4p7/include/ntp.h.minpoll 2008-08-10 13:02:42.000000000 +0200 | |
15 | +++ ntp-4.2.4p7/include/ntp.h 2009-05-19 14:23:01.000000000 +0200 | |
16 | @@ -104,7 +104,7 @@ typedef char s_char; | |
17 | * Poll interval parameters | |
18 | */ | |
19 | #define NTP_UNREACH 24 /* poll unreach threshold */ | |
20 | -#define NTP_MINPOLL 4 /* log2 min poll interval (16 s) */ | |
21 | +#define NTP_MINPOLL 3 /* log2 min poll interval (8 s) */ | |
22 | #define NTP_MINDPOLL 6 /* log2 default min poll (64 s) */ | |
23 | #define NTP_MAXDPOLL 10 /* log2 default max poll (~17 m) */ | |
24 | #define NTP_MAXPOLL 17 /* log2 max poll interval (~36 h) */ | |
25 | diff -up ntp-4.2.4p7/ntpd/ntp_loopfilter.c.minpoll ntp-4.2.4p7/ntpd/ntp_loopfilter.c | |
26 | --- ntp-4.2.4p7/ntpd/ntp_loopfilter.c.minpoll 2009-05-19 14:23:01.000000000 +0200 | |
27 | +++ ntp-4.2.4p7/ntpd/ntp_loopfilter.c 2009-05-19 14:23:01.000000000 +0200 | |
28 | @@ -404,7 +404,7 @@ local_clock( | |
29 | fp_offset); | |
30 | reinit_timer(); | |
31 | tc_counter = 0; | |
32 | - sys_poll = NTP_MINPOLL; | |
33 | + sys_poll = NTP_MINPOLL + 1; | |
34 | sys_tai = 0; | |
35 | clock_jitter = LOGTOD(sys_precision); | |
36 | rval = 2; |