From: Harlan Stenn Date: Sun, 7 Dec 2014 11:30:07 +0000 (+0000) Subject: [Bug 2685] Better document the KOD file for sntp X-Git-Tag: NTP_4_2_7P483~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=397205d1a7d4eff210ae6066637566660f07dd9e;p=thirdparty%2Fntp.git [Bug 2685] Better document the KOD file for sntp bk: 54843a3ft46jW0USFaYHINEbeSQOCA --- diff --git a/ChangeLog b/ChangeLog index aafdee1f8..f70f4185b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 2685] Better document the KOD file for sntp. (4.2.7p482) 2014/12/02 Released by Harlan Stenn * [Bug 2641] sntp is installed in the wrong location in Solaris. * [Bug 2678] nmea_control() now checks 'refclock_params()' result. diff --git a/html/sntp.html b/html/sntp.html index 0c270cb62..fa17203f2 100644 --- a/html/sntp.html +++ b/html/sntp.html @@ -3,6 +3,7 @@ sntp - Simple Network Time Protocol (SNTP) Client + @@ -10,7 +11,7 @@ giffrom Alice's Adventures in Wonderland, Lewis Carroll

S is for snakeoil.

Last update: - 3-Oct-2011 21:51 + 7-Dec-2014 11:09 UTC



@@ -46,7 +47,7 @@
-g delay, --gap delay
Specify the delay in milliseconds between outgoing queries, defaulting to 50. sntp sends queries to all provided hostnames/addresses in short succession, and by default terminates once the first valid response is received. With multiple time sources provided, all but one will not be used. To limit the number of queries whose responses will not be used, each query is separated from the preceding one by delay milliseconds, to allow time for responses to earlier queries to be received. A larger delay reduces the query load on the time sources, increasing the time to receive a valid response if the first source attempted is slow or unreachable.
-K kodfile, --kod kodfile
-
Specifies the filename kodfile to be used for the persistent history of KoD (Kiss Of Death, or rate-limiting) responses received from servers. The default is /var/db/ntp-kod. Note that the short option is -K, an uppercase letter K.
+
Specifies the filename kodfile to be used for the persistent history of KoD (Kiss Of Death, or rate-limiting) responses received from servers. The default is /var/db/ntp-kod. If the file does not exist, a warning message will be displayed. The file will not be created. Note that the short option is -K, an uppercase letter K.
-k keyfile, --keyfile keyfile
Specifies the filename keyfile used with the -a/--authentication option. The format of the file is described on the ntp-keygen page.
-l logfile, --filelog logfile
diff --git a/sntp/sntp-opts.def b/sntp/sntp-opts.def index 86e17c929..c32f5e51e 100644 --- a/sntp/sntp-opts.def +++ b/sntp/sntp-opts.def @@ -117,7 +117,8 @@ flag = { descrip = "KoD history filename"; doc = <<- _EndOfDoc_ Specifies the filename to be used for the persistent history of KoD - responses received from servers. + responses received from servers. If the file does not exist, a + warning message will be displayed. The file will not be created. _EndOfDoc_; };