[Git][NTPsec/ntpsec][master] Default showall to True (ntpmon, ntpq)

Hal Murray gitlab at mg.gitlab.com
Mon Dec 19 08:58:58 UTC 2016


Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
62d68925 by Hal Murray at 2016-12-19T00:58:08-08:00
Default showall to True (ntpmon, ntpq)

- - - - -


2 changed files:

- ntpclients/ntpmon
- ntpclients/ntpq


Changes:

=====================================
ntpclients/ntpmon
=====================================
--- a/ntpclients/ntpmon
+++ b/ntpclients/ntpmon
@@ -126,7 +126,7 @@ if __name__ == '__main__':
 
     showhostnames = True
     wideremote = False
-    showall = False
+    showall = True
 
     for (switch, val) in options:
         if switch in ("-V", "--version"):


=====================================
ntpclients/ntpq
=====================================
--- a/ntpclients/ntpq
+++ b/ntpclients/ntpq
@@ -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=False)
+            self.__printassoc(showall=True)
 
     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=False)
+        self.__printassoc(showall=True)
 
     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=False, mode="peers")
+        self.__dopeers(showall=True, 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=False, mode="apeers")
+        self.__dopeers(showall=True, 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=False, mode="opeers")
+        self.__dopeers(showall=True, mode="opeers")
 
     def help_opeers(self):
         self.say("""\



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/62d689253e3a62f4b06ada30692ede57338fdfa0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20161219/c87fb9b5/attachment.html>


More information about the vc mailing list