[Git][NTPsec/ntpsec][master] Fix issue where dstadr_refid could be inadvertantly casted to an int
Ian Bruene
gitlab at mg.gitlab.com
Sun Dec 17 18:23:36 UTC 2017
Ian Bruene pushed to branch master at NTPsec / ntpsec
Commits:
cbc94881 by Ian Bruene at 2017-12-17T12:15:03-06:00
Fix issue where dstadr_refid could be inadvertantly casted to an int
- - - - -
1 changed file:
- pylib/util.py
Changes:
=====================================
pylib/util.py
=====================================
--- a/pylib/util.py
+++ b/pylib/util.py
@@ -913,7 +913,7 @@ class PeerSummary:
# The C code tried to get a fallback ptype from this in case
# the hmode field was not included
if "local" in self.__header:
- dstadr_refid = value
+ dstadr_refid = rawvalue
elif name == "dstport":
# FIXME, dstport never used.
dstport = value
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/cbc9488148b15e139c226a8377d36f48ff42e4e4
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/cbc9488148b15e139c226a8377d36f48ff42e4e4
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/20171217/f6239749/attachment.html>
More information about the vc
mailing list