[Bug 5120] The ntpd server not work with windows.

bugzilla at busybox.net bugzilla at busybox.net
Mon Jan 14 02:31:26 UTC 2013


https://bugs.busybox.net/show_bug.cgi?id=5120

Denys Vlasenko <vda.linux at googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Denys Vlasenko <vda.linux at googlemail.com> 2013-01-14 02:31:48 UTC ---
Fixed in git:

commit b7841cf7b919b16d1bd4619154bf7cb4c22b4ccd
Author: Paul Marks <paul at pmarks.net>
Date:   Mon Jan 14 02:39:10 2013 +0100

    ntpd: fix incorrect m_status field in outgoing packets. Closes 5120

    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.

    Signed-off-by: Paul Marks <paul at pmarks.net>

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list