Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
ntpsec
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
NTPsec
ntpsec
Commits
62d68925
Commit
62d68925
authored
8 years ago
by
Hal Murray
Browse files
Options
Downloads
Patches
Plain Diff
Default showall to True (ntpmon, ntpq)
parent
d4e35d39
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ntpclients/ntpmon
+1
-1
1 addition, 1 deletion
ntpclients/ntpmon
ntpclients/ntpq
+5
-5
5 additions, 5 deletions
ntpclients/ntpq
with
6 additions
and
6 deletions
ntpclients/ntpmon
+
1
−
1
View file @
62d68925
...
...
@@ -126,7 +126,7 @@ if __name__ == '__main__':
showhostnames
=
True
wideremote
=
False
showall
=
Fals
e
showall
=
Tru
e
for
(
switch
,
val
)
in
options
:
if
switch
in
(
"
-V
"
,
"
--version
"
):
...
...
This diff is collapsed.
Click to expand it.
ntpclients/ntpq
+
5
−
5
View file @
62d68925
...
...
@@ -750,7 +750,7 @@ usage: keytype [digest-name]
def
do_associations
(
self
,
line
):
"
print list of association IDs and statuses for the server
'
s peers
"
if
self
.
__dogetassoc
():
self
.
__printassoc
(
showall
=
Fals
e
)
self
.
__printassoc
(
showall
=
Tru
e
)
def
help_associations
(
self
):
self
.
say
(
"""
\
...
...
@@ -760,7 +760,7 @@ usage: associations
def
do_passociations
(
self
,
line
):
"
print list of associations returned by last associations command
"
self
.
__printassoc
(
showall
=
Fals
e
)
self
.
__printassoc
(
showall
=
Tru
e
)
def
help_passociations
(
self
):
self
.
say
(
"""
\
...
...
@@ -1067,7 +1067,7 @@ usage: pstats assocID
def
do_peers
(
self
,
line
):
"
obtain and print a list of the server
'
s peers [IP version]
"
self
.
__dopeers
(
showall
=
Fals
e
,
mode
=
"
peers
"
)
self
.
__dopeers
(
showall
=
Tru
e
,
mode
=
"
peers
"
)
def
help_peers
(
self
):
self
.
say
(
"""
\
...
...
@@ -1077,7 +1077,7 @@ usage: peers
def
do_apeers
(
self
,
line
):
"
obtain and print a list of the server
'
s peers and their assocIDs [IP version]
"
self
.
__dopeers
(
showall
=
Fals
e
,
mode
=
"
apeers
"
)
self
.
__dopeers
(
showall
=
Tru
e
,
mode
=
"
apeers
"
)
def
help_apeers
(
self
):
self
.
say
(
"""
\
...
...
@@ -1097,7 +1097,7 @@ usage: lpeers
def
do_opeers
(
self
,
line
):
"
print peer list the old way, with dstadr shown rather than refid [IP version]
"
self
.
__dopeers
(
showall
=
Fals
e
,
mode
=
"
opeers
"
)
self
.
__dopeers
(
showall
=
Tru
e
,
mode
=
"
opeers
"
)
def
help_opeers
(
self
):
self
.
say
(
"""
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment