[Git][NTPsec/ntpsec][master] 2 commits: Fix typos

Richard Laager gitlab at mg.gitlab.com
Mon Nov 23 05:08:39 UTC 2020



Richard Laager pushed to branch master at NTPsec / ntpsec


Commits:
3a3fd060 by Richard Laager at 2020-11-22T23:06:12-06:00
Fix typos

- - - - -
601f527d by Richard Laager at 2020-11-22T23:07:53-06:00
Capitalize "IP"

and one instance of "DNS".

- - - - -


3 changed files:

- docs/includes/ntpq-body.adoc
- ntpd/ntp_util.c
- pylib/packet.py


Changes:

=====================================
docs/includes/ntpq-body.adoc
=====================================
@@ -80,10 +80,10 @@ read interactive format commands from the standard input.
   anyway for peers in the initialization phase before DNS has resolved
   the peer name.
 +-s+, +--srcname+::
-  Output host adresses by: Names passed to ntpd, then names reverse
-  resolved from addresses and finally, ip addresses themselves 
+  Output host addresses by: Names passed to ntpd, then names reverse
+  resolved from addresses and finally, IP addresses themselves
 +-S+, +--srcnumber+::
-  Output host adresses by: Names passed to ntpd, then ip addresses
+  Output host addresses by: Names passed to ntpd, then IP addresses
   themselves 
 +-p+, +--peers+::
   Print a list of the peers known to the server as well as a summary of


=====================================
ntpd/ntp_util.c
=====================================
@@ -567,7 +567,7 @@ record_raw_stats(
  * file format
  * day (MJD)
  * time (s past midnight)
- * peer ip address
+ * peer IP address
  * i, j, n from refclock_sample
  * t1 t2 t3 t4 t5, timestamps
  * jitter, std_dev, std_dev_all


=====================================
pylib/packet.py
=====================================
@@ -759,8 +759,8 @@ class ControlSession:
         "Try different ways to interpret an address and family"
         if hname.startswith("["):
             hname = hname[1:-1]
-        # First try to resolve it as an ip address and if that fails,
-        # do a fullblown (DNS) lookup. That way we only use the dns
+        # First try to resolve it as an IP address and if that fails,
+        # do a fullblown (DNS) lookup. That way we only use the DNS
         # when it is needed and work around some implementations that
         # will return an "IPv4-mapped IPv6 address" address if you
         # give it an IPv4 address to lookup.



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/compare/73826ec6812308fb137ebeb4e6fe7c21448c7c4b...601f527de5fae7fbed93780c702333770695ddb0

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/compare/73826ec6812308fb137ebeb4e6fe7c21448c7c4b...601f527de5fae7fbed93780c702333770695ddb0
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20201123/22a3dfd4/attachment-0001.htm>


More information about the vc mailing list