[Git][NTPsec/ntpsec][master] A slightly tigher test for mode 6 data.

Gary E. Miller gitlab at mg.gitlab.com
Mon Aug 7 22:41:23 UTC 2017


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
ec2abf6f by Gary E. Miller at 2017-08-07T15:40:53-07:00
A slightly tigher test for mode 6 data.

- - - - -


1 changed file:

- pylib/util.py


Changes:

=====================================
pylib/util.py
=====================================
--- a/pylib/util.py
+++ b/pylib/util.py
@@ -741,7 +741,7 @@ class PeerSummary:
         now = time.time()
 
         for item in variables.items():
-            if len(item) == 0:
+            if 2 != len(item):
                 continue
             (name, (value, rawvalue)) = item
             if name in ("srcadr", "peeradr"):



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

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/ec2abf6fbf4bcf12be8ea520a796ffc8d3b5c1b5
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/20170807/266444bd/attachment.html>


More information about the vc mailing list