[Git][NTPsec/ntpsec][master] 2 commits: Update a bug warning.

Eric S. Raymond gitlab at mg.gitlab.com
Thu Dec 15 15:36:12 UTC 2016


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


Commits:
92039e0b by Eric S. Raymond at 2016-12-15T08:44:50-05:00
Update a bug warning.

- - - - -
9e306246 by Eric S. Raymond at 2016-12-15T10:36:03-05:00
Address GitLab issue #207: Build fails on Solaris 11

- - - - -


2 changed files:

- docs/includes/ntpmon-body.txt
- libntp/pymodule.c


Changes:

=====================================
docs/includes/ntpmon-body.txt
=====================================
--- a/docs/includes/ntpmon-body.txt
+++ b/docs/includes/ntpmon-body.txt
@@ -55,9 +55,9 @@ x:: Cleanly terminate the program.
 
 == Known Bugs ==
 
-+ntpmon+ will appear to hang when monitoring hosts with extremely long
-MRU lists - in particular, public pool hosts.  There is no easy fix
-for this, as the records are returned oldest first and the portion
-of interest is usually the newest.
+When querying a version of ntpd older than NTPsec 0.9.6, +ntpmon+ will
+appear to hang when monitoring hosts with extremely long MRU lists -
+in particular, public pool hosts. Correct behavior requires a Mode 6
+protocol extension not yet present in those versions.
 
 // end


=====================================
libntp/pymodule.c
=====================================
--- a/libntp/pymodule.c
+++ b/libntp/pymodule.c
@@ -122,7 +122,7 @@ ntpc_adj_systime(PyObject *self, PyObject *args)
     UNUSED_ARG(self);
     if (!PyArg_ParseTuple(args, "d", &adjustment))
 	return NULL;
-    return Py_BuildValue("d", adj_systime(adjustment, adjtime));
+    return Py_BuildValue("d", (int)adj_systime(adjustment, adjtime));
 }
 
 static PyObject *



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/bbf19159f6059039c42cbce3570a6397f3e290e4...9e306246ba7f518fa36b46240a921b88205a8a9f
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20161215/80842444/attachment.html>


More information about the vc mailing list