[Git][NTPsec/ntpsec][master] ntp.util: Fix rpeers mode in PeerSummary.summary

Hal Murray (@hal.murray) gitlab at mg.gitlab.com
Thu May 30 22:05:24 UTC 2024



Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
c7055400 by James Browning at 2024-05-30T22:01:59+00:00
ntp.util: Fix rpeers mode in PeerSummary.summary

- - - - -


1 changed file:

- pylib/util.py


Changes:

=====================================
pylib/util.py
=====================================
@@ -1211,6 +1211,10 @@ class PeerSummary:
                PeerSummary.prettyinterval(last_sync),
                PeerSummary.prettyinterval(poll_sec), reach,
                fini(estdelay), fini(estoffset), fini(jd)))
+        if self.displaymode == "rpeers":
+            line += " " + dstadr_refid
+            line += (" " * (self.refidwidth - len(dstadr_refid)))
+            line += (" %c %s" % (c, clock_name[:76 - len(line)]))
         line += "\n"
         # for debugging both case
         # if srcadr != None and srchost != None:



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/c70554001cd5d719976589418339e6921ac7c150

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/c70554001cd5d719976589418339e6921ac7c150
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/20240530/9c6b0a2b/attachment.htm>


More information about the vc mailing list