[Git][NTPsec/ntpsec][master] Minor corrections to documentation/comments.

Hal Murray gitlab at mg.gitlab.com
Sun Jan 3 09:49:00 UTC 2016


Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
7b0c834b by Hal Murray at 2016-01-03T01:48:09Z
Minor corrections to documentation/comments.

- - - - -


2 changed files:

- docs/discover.txt
- include/ntp.h


Changes:

=====================================
docs/discover.txt
=====================================
--- a/docs/discover.txt
+++ b/docs/discover.txt
@@ -192,7 +192,7 @@ command but with a multicast (IPv4 class _D_ or IPv6 prefix _FF_)
 group address. The IANA has designated IPv4 address 224.1.1.1 and IPv6
 address FF05::101 (site local) for NTP.
 
-The client sends sends ordinary client mode messages, but to one of
+The client sends ordinary client mode messages, but to one of
 these broadcast addresses rather than a unicast address, and sends
 only if less than +maxclock+ associations remain and then only at the
 minimum feasible rate and minimum feasible time-to-live (TTL)


=====================================
include/ntp.h
=====================================
--- a/include/ntp.h
+++ b/include/ntp.h
@@ -398,8 +398,7 @@ struct peer {
  * Values for peer mode and packet mode. Only the modes through
  * MODE_BROADCAST and MODE_BCLIENT appear in the transition
  * function. MODE_CONTROL and MODE_PRIVATE can appear in packets,
- * but those never survive to the transition function.
- * is a
+ * but those never survive to the translation function.
 / */
 #define	MODE_UNSPEC	0	/* unspecified (old version) */
 #define	MODE_ACTIVE	1	/* symmetric active mode */
@@ -411,7 +410,7 @@ struct peer {
  * These can appear in packets
  */
 #define	MODE_CONTROL	6	/* control mode */
-#define	MODE_PRIVATE	7	/* private mode */
+#define	MODE_PRIVATE	7	/* Dead: private mode */
 /*
  * This is a madeup mode for broadcast client.
  */



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/7b0c834b1b800c49b45b0b7f11a5b85b5010dfe2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160103/fbad4857/attachment.html>


More information about the vc mailing list