[Git][NTPsec/ntpsec][master] 2 commits: Address Gitlab issue #183: Bug: ntpsweep traceback

Eric S. Raymond gitlab at mg.gitlab.com
Sat Dec 3 15:10:40 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
8cb3177d by Eric S. Raymond at 2016-12-03T10:03:19-05:00
Address Gitlab issue #183: Bug: ntpsweep traceback

- - - - -
2356444f by Eric S. Raymond at 2016-12-03T10:10:27-05:00
Address Gitlab issue #187: Bug: ntpq -c ":config" not accepted.

It's not worth the additional code complexity to "fix" this.

- - - - -


2 changed files:

- docs/includes/ntpq-body.txt
- ntpsweep/ntpsweep


Changes:

=====================================
docs/includes/ntpq-body.txt
=====================================
--- a/docs/includes/ntpq-body.txt
+++ b/docs/includes/ntpq-body.txt
@@ -565,4 +565,6 @@ by 'name', a shortname for the driver type.
 
 The -O (--old-rv) option of legacy versions has been retired.
 
+The command ":config" is no longer accepted; use "config" instead.
+
 // end


=====================================
ntpsweep/ntpsweep
=====================================
--- a/ntpsweep/ntpsweep
+++ b/ntpsweep/ntpsweep
@@ -49,7 +49,7 @@ def scan_host(host, level):
     else:
         session = ntp.packet.ControlSession()
         session.openhost(host)
-        sysvars = session.readvars()
+        sysvars = session.readvar()
 
         # got answers ? If so, go on.
         if isinstance(sysvars, dict):



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/ddae789458cec5c5f2c57d433cb6628d72fe09cb...2356444f7deccf0a5af20f54d3da82fc819f2981
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161203/a6cc843c/attachment.html>


More information about the vc mailing list