[Git][NTPsec/ntpsec][master] Fixed ntpmon crash when detail mode active and peers display hidden
Eric S. Raymond
gitlab at mg.gitlab.com
Sat Apr 15 11:54:37 UTC 2017
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
5a72551a by Ian Bruene at 2017-04-15T06:22:25-05:00
Fixed ntpmon crash when detail mode active and peers display hidden
- - - - -
1 changed file:
- ntpclients/ntpmon
Changes:
=====================================
ntpclients/ntpmon
=====================================
--- a/ntpclients/ntpmon
+++ b/ntpclients/ntpmon
@@ -338,8 +338,10 @@ if __name__ == '__main__':
selected = 0
selectmode = not selectmode
detailmode = not detailmode
+ showpeers = True # detail + hide peers == crash
elif key == 'm':
showpeers = not showpeers
+ detailmode = False # detail + hide peers == crash
elif key == 'n':
peer_report.showhostnames = \
not peer_report.showhostnames
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/5a72551a137909b7e02c0a6add180f5fc3aa52d4
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/5a72551a137909b7e02c0a6add180f5fc3aa52d4
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/20170415/1b27f403/attachment.html>
More information about the vc
mailing list