[Git][NTPsec/ntpsec][master] Addres GitLab issue #496: Warning on NetBSD 8
Eric S. Raymond
gitlab at mg.gitlab.com
Thu Aug 16 15:11:02 UTC 2018
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
82609a7a by Eric S. Raymond at 2018-08-16T15:10:53Z
Addres GitLab issue #496: Warning on NetBSD 8
Properly use an inttypes.h macro to avoid a port problem.
- - - - -
1 changed file:
- ntpd/ntp_control.c
Changes:
=====================================
ntpd/ntp_control.c
=====================================
@@ -2625,7 +2625,7 @@ ctl_getitem(
if (quiet_until <= current_time) {
quiet_until = current_time + 300;
msyslog(LOG_WARNING,
- "Possible 'ntpdx' exploit from %s#%u (possibly spoofed)",
+ "Possible 'ntpdx' exploit from %s#%" PRIu16 " (possibly spoofed)",
socktoa(rmt_addr), SRCPORT(rmt_addr));
}
reqpt = reqend; /* never again for this packet! */
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/82609a7a1bf4a9aa95be3bb6facaf7dfa4b4a368
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/82609a7a1bf4a9aa95be3bb6facaf7dfa4b4a368
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/20180816/a62f06e2/attachment.html>
More information about the vc
mailing list