From: Dave Hart Date: Wed, 1 Nov 2023 09:08:53 +0000 (+0000) Subject: Merge tl.ntp.md:C:/ntp/stable/3864 X-Git-Tag: NTP_4_2_8P18_RC1~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50805e057dc5896159df399bd654d35ba5022f5e;p=thirdparty%2Fntp.git Merge tl.ntp.md:C:/ntp/stable/3864 into tl.ntp.md:C:/ntp/stable/3847-64 bk: 654215a5c3s2n_lgMmrOo8sxpfpGCA --- 50805e057dc5896159df399bd654d35ba5022f5e diff --cc ChangeLog index 84e45b397,8509fa550..61a175e6b --- a/ChangeLog +++ b/ChangeLog @@@ -1,19 -1,9 +1,21 @@@ --- +* [Bug 3872] Ignore restrict mask for hostname. +* [Bug 3871] 4.2.8p17 build without hopf6021 refclock enabled fails. + Reported by Hans Mayer. Moved NONEMPTY_TRANSLATION_UNIT + declaration from ntp_types.h to config.h. +* [Bug 3869] Remove long-gone "calldelay" & "crypto sign" from docs. + Reported by PoolMUC@web.de. +* [Bug 3868] Cannot restrict a pool peer. Thanks to + Edward McGuire for tracking down the deficiency. + * [Bug 3864] ntpd IPv6 refid different for big-endian and little-endian. + +* [Bug 3859] Use NotifyIpInterfaceChange on Windows ntpd. * [Bug 3856] Enable Edit & Continue debugging with Visual Studio. +* [Bug 3855] ntpq lacks an equivalent to ntpdc's delrestrict. +* [Bug 3854] ntpd 4.2.8p17 corrupts rawstats file with space in refid. + * [Bug 3853] Clean up warnings with modern compilers. * [Bug 3852] check-libntp.mf and friends are not triggering rebuilds as intended. diff --cc include/ntp.h index 9ff5a408f,441f5889d..98d1210f8 --- a/include/ntp.h +++ b/include/ntp.h @@@ -944,10 -952,9 +947,14 @@@ struct endpoint /* similar datagrams per response limit for ntpd */ #define MRU_FRAGS_LIMIT 128 +/* found on POSIX systems in sysexit.h */ +#ifndef EX_SOFTWARE +# define EX_SOFTWARE 70 /* internal software error */ +#endif + - + #define BYTESWAP32(u32) \ + (((u_int32)(u32) & 0xff000000) >> 24 | \ + ((u_int32)(u32) & 0xff0000) >> 8 | \ + ((u_int32)(u32) & 0xff00) << 8 | \ + ((u_int32)(u32) & 0xff) << 24) #endif /* NTP_H */