Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
NTPsec
ntpsec
Commits
ebb77817
Commit
ebb77817
authored
Aug 22, 2016
by
Gary E. Miller
💬
Browse files
ntpviz now runs with empty stats.
parent
7a85ab8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
ntpstats/ntpviz
View file @
ebb77817
...
...
@@ -179,6 +179,9 @@ plot \
peerdict = self.peersplit()
if not peerlist:
peerlist = list(peerdict.keys())
if not len( peerlist):
sys.stderr.write("ntpviz: WARNING: no peer data to graph\n")
return ''
peerlist.sort() # For stability of output
if len(peerlist) == 1:
title += ": "+ peerlist[0]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment