Skip to content
Snippets Groups Projects
Commit 5a72551a authored by Ian Bruene's avatar Ian Bruene
Browse files

Fixed ntpmon crash when detail mode active and peers display hidden

parent ef9d4ab8
No related branches found
No related tags found
Loading
Pipeline #
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment