[Git][NTPsec/ntpsec][master] Generare better queroes for mulit-segment MRU list.

Eric S. Raymond gitlab at mg.gitlab.com
Sat Nov 12 15:32:51 UTC 2016


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


Commits:
b8c9c3f2 by Eric S. Raymond at 2016-11-12T10:32:37-05:00
Generare better queroes for mulit-segment MRU list.

- - - - -


1 changed file:

- pylib/packet.py


Changes:

=====================================
pylib/packet.py
=====================================
--- a/pylib/packet.py
+++ b/pylib/packet.py
@@ -1141,7 +1141,7 @@ class Mode6Session:
                     nonce = fetch_nonce()
                     nonce_uses = 0
                 for i in range(len(span.entries)):
-                    e = self.entries[len(span.entries) - i - 1]
+                    e = span.entries[len(span.entries) - i - 1]
                     incr += ", addr.%d=%s, last.%d=%s" % (i, e.addr, i, e.last)
                     if len(req_buf) + len(incr) >= CTL_MAX_DATA_LEN:
                         break



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


More information about the vc mailing list