[Git][NTPsec/ntpsec][master] Nailed missing clockvar units bug to the wall.

Eric S. Raymond gitlab at mg.gitlab.com
Tue Apr 18 23:28:31 UTC 2017


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


Commits:
847d0d5c by Ian Bruene at 2017-04-18T16:33:06-05:00
Nailed missing clockvar units bug to the wall.

- - - - -


1 changed file:

- ntpclients/ntpmon


Changes:

=====================================
ntpclients/ntpmon
=====================================
--- a/ntpclients/ntpmon
+++ b/ntpclients/ntpmon
@@ -309,7 +309,8 @@ if __name__ == '__main__':
                                     peers[selected].associd,
                                     opcode=ntp.control.CTL_OP_READCLOCK,
                                     raw=True)
-                                strconvert = ntp.util.cook(clockvars)
+                                strconvert = ntp.util.cook(clockvars,
+                                                           showunits)
                                 stdscr.addstr(strconvert.encode('UTF-8'))
                             except ntp.packet.ControlException as e:
                                 pass



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/847d0d5c32b486367593f184bbe5230325e84ef8

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/847d0d5c32b486367593f184bbe5230325e84ef8
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170418/13d0ee00/attachment.html>


More information about the vc mailing list