[Git][NTPsec/ntpsec][master] Address GitLab issue #156: ntpq: mrulist command dies

Eric S. Raymond gitlab at mg.gitlab.com
Sat Nov 26 15:59:21 UTC 2016


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


Commits:
c21258a6 by Eric S. Raymond at 2016-11-26T10:35:56-05:00
Address GitLab issue #156: ntpq: mrulist command dies

- - - - -


1 changed file:

- pylib/packet.py


Changes:

=====================================
pylib/packet.py
=====================================
--- a/pylib/packet.py
+++ b/pylib/packet.py
@@ -1243,7 +1243,7 @@ class ControlSession:
                             limit = min(limit, ntpd_row_limit)
                             if self.debug:
                                 warn("Row limit reduced to %d following CERR_BADVALUE.\n" % limit)
-                    elif e.errorcode in (ERR_INCOMPLETE, ERR_TIMEOUT):
+                    elif e.errorcode in (SERR_INCOMPLETE, SERR_TIMEOUT):
                         # Reduce the number of rows/frags requested by
                         # half to recover from lost response fragments.
                         if cap_frags:



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


More information about the vc mailing list