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

bugzilla at busybox.net bugzilla at busybox.net
Fri Nov 23 23:29:27 UTC 2012


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

--- Comment #2 from Paul Marks <paul at pmarks.net> 2012-11-23 23:29:20 UTC ---
I just tested the "Internet Time" feature in Windows 7, and determined:
1) It uses NTPv3
2) The busybox ntpd is responding as NTPv7
3) Modifying this line in ntpd.c fixes the problem:

- msg.m_status = G.stratum < MAXSTRAT ? G.ntp_status : LI_ALARM;
+ msg.m_status = G.stratum < MAXSTRAT ? (G.ntp_status & LI_MASK) : LI_ALARM;

Could someone apply this fix, please?

-- 
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