[PATCH] Fix the "NTPv7" version mangling in ntpd.
Denys Vlasenko
vda.linux at googlemail.com
Mon Jan 14 01:42:05 UTC 2013
On Monday 07 January 2013 01:02, Paul Marks wrote:
> When using busybox ntpd with an NTPv3 client and NTPv4 server (or vice
> versa), the version numbers can be incorrectly ORed together, yielding
> the bogus value of "NTPv7". This makes ntpd unusable with clients
> such as Chrony and Windows "Internet Time".
>
> This patch avoids the version mangling, by copying only the Leap
> Indicator bits from the server's status field.
>
> Bug: https://bugs.busybox.net/show_bug.cgi?id=5120
>
> Signed-off-by: Paul Marks <paul at pmarks.net>
Applied, thanks!
Will go into version 1.21
More information about the busybox
mailing list