[Git][NTPsec/ntpsec][master] In the mrulist method of the packet library...

Eric S. Raymond gitlab at mg.gitlab.com
Thu Dec 22 22:05:06 UTC 2016


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


Commits:
0460b6a3 by Eric S. Raymond at 2016-12-22T17:03:41-05:00
In the mrulist method of the packet library...

...Only ship 'recent' on the first request

- - - - -


1 changed file:

- pylib/packet.py


Changes:

=====================================
pylib/packet.py
=====================================
--- a/pylib/packet.py
+++ b/pylib/packet.py
@@ -1423,6 +1423,11 @@ class ControlSession:
                                     max(limit + 1,
                                         limit * 33 / 32))
 
+
+                # Only ship 'recent' on the first request
+                if 'recent' in parms:
+                    del parms['recent']
+
                 # Prepare next query with as many address and last-seen
                 # timestamps as will fit in a single packet.  A new nonce
                 # might be required.



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/0460b6a39815eb4dc05b297142e1996f27949966
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20161222/405bd474/attachment.html>


More information about the vc mailing list