[Git][NTPsec/ntpsec][master] Fix typo

Hal Murray gitlab at mg.gitlab.com
Tue Dec 27 04:52:30 UTC 2016


Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
59fc42b0 by Hal Murray at 2016-12-26T20:52:14-08:00
Fix typo

- - - - -


1 changed file:

- ntpd/ntp_control.c


Changes:

=====================================
ntpd/ntp_control.c
=====================================
--- a/ntpd/ntp_control.c
+++ b/ntpd/ntp_control.c
@@ -772,7 +772,7 @@ process_control(
 	rpkt.status = 0;
 	res_frags = 1;
 	res_offset = 0;
-	res_associd = htons(pkt->associd);
+	res_associd = ntohs(pkt->associd);
 	res_authenticate = false;
 	res_keyid = 0;
 	res_authokay = false;



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/59fc42b064f594e39ee0a3a70ddf51b617ab6414
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20161227/4a81aafe/attachment.html>


More information about the vc mailing list