[Git][NTPsec/ntpsec][master] Fix an incorrect commemt.

Eric S. Raymond gitlab at mg.gitlab.com
Sun Nov 12 19:49:22 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
7caec8f0 by Eric S. Raymond at 2017-11-12T14:49:11-05:00
Fix an incorrect commemt.

- - - - -


1 changed file:

- libntp/macencrypt.c


Changes:

=====================================
libntp/macencrypt.c
=====================================
--- a/libntp/macencrypt.c
+++ b/libntp/macencrypt.c
@@ -120,7 +120,8 @@ mac_authdecrypt(
 /*
  * Calculate the reference id from the address. If it is an IPv4
  * address, use it as is. If it is an IPv6 address, do a md5 on
- * it and use the bottom 4 bytes.
+ * it and use the top 4 bytes. (Note: NTP Classic claimed it used
+ * the *bottom* 4 bytes, but that didn't match the code or the test.)
  * The result is in network byte order.
  */
 uint32_t



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

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/7caec8f0b5ad27d598dd193a39e77a7a03326242
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/20171112/26d40d22/attachment.html>


More information about the vc mailing list