[Git][NTPsec/ntpsec][master] Fix some debuggging code.

Eric S. Raymond gitlab at mg.gitlab.com
Fri Nov 11 19:08:26 UTC 2016


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


Commits:
0d0258ab by Eric S. Raymond at 2016-11-11T14:08:15-05:00
Fix some debuggging code.

- - - - -


1 changed file:

- pylib/packet.py


Changes:

=====================================
pylib/packet.py
=====================================
--- a/pylib/packet.py
+++ b/pylib/packet.py
@@ -730,7 +730,7 @@ class Mode6Session:
                     if self.debug:
                         sys.stderr.write("ERR_INCOMPLETE: Received fragments:\n")
                         for (i, frag) in enumerate(fragments):
-                            sys.stderr.write("%d: %s" % (i+1, frag.stats()))
+                            sys.stderr.write("%d: %s" % (i+1, frag.stats(i)))
                         sys.stderr.write("last fragment %sreceived\n" \
                              % ("not ", "")[seenlastfrag])
                 raise Mode6Exception(SERR_INCOMPLETE)



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


More information about the vc mailing list