]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 1248] RES_MSSNTP typo in ntp_proto.c
authorHarlan Stenn <stenn@ntp.org>
Mon, 20 Jul 2009 04:18:45 +0000 (00:18 -0400)
committerHarlan Stenn <stenn@ntp.org>
Mon, 20 Jul 2009 04:18:45 +0000 (00:18 -0400)
bk: 4a63f025K6Nlg1ubgLnG3lqlzhkoDw

ChangeLog
ntpd/ntp_proto.c

index 323bbed331d81e7132c65b58b06764cb6433e75c..8f61e795fc8121a844778a5371e0101904891bea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+* [Bug 1248] RES_MSSNTP typo in ntp_proto.c.
 * [Bug 1246] use a common template for singly-linked lists, convert most
   doubly-linked lists to singly-linked.
 * Log warning about signd blocking when restrict mssntp used.
index 53c6e361f99c041d14f7f592090992524dc30480..1dd0c262232502dd7f2b11f4e146e9a1bc2f26d5 100644 (file)
@@ -573,7 +573,7 @@ receive(
                 * This is described in Microsoft's WSPP docs, in MS-SNTP:
                 * http://msdn.microsoft.com/en-us/library/cc212930.aspx
                 */
-       } else if (has_mac == MAX_MAC_LEN && (restrict_mask & RES_MSNTP) &&
+       } else if (has_mac == MAX_MAC_LEN && (restrict_mask & RES_MSSNTP) &&
           (retcode == AM_FXMIT || retcode == AM_NEWPASS) &&
           (memcmp(zero_key, (char *)pkt + authlen + 4, MAX_MAC_LEN - 4) ==
           0)) {