[Git][NTPsec/ntpsec][master] Fixed mis-named variable

Ian Bruene gitlab at mg.gitlab.com
Thu Aug 24 20:10:57 UTC 2017


Ian Bruene pushed to branch master at NTPsec / ntpsec


Commits:
a7c11c1d by Ian Bruene at 2017-08-24T14:23:28-05:00
Fixed mis-named variable

- - - - -


1 changed file:

- pylib/util.py


Changes:

=====================================
pylib/util.py
=====================================
--- a/pylib/util.py
+++ b/pylib/util.py
@@ -1116,7 +1116,7 @@ class MRUSummary:
             else:
                 dns = canonicalize_dns(ip)
                 # Forward-confirm the returned DNS
-                confirmed = confirmation_cache.get(dns)
+                confirmed = canonicalization_cache.get(dns)
                 if confirmed is None:
                     confirmed = False
                     try:
@@ -1128,7 +1128,7 @@ class MRUSummary:
                                 break
                     except socket.gaierror as e:
                         pass
-                    confirmation_cache.set(dns, confirmed)
+                    canonicalization_cache.set(dns, confirmed)
                 if not confirmed:
                     dns = "%s (%s)" % (ip, dns)
             if not self.wideremote:



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

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/a7c11c1d1ccfab0a7f595b22cfefd2d94d1c337e
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/20170824/01e30362/attachment.html>


More information about the vc mailing list