diff options
author | Paul Marks <paul@pmarks.net> | 2013-01-14 02:39:10 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-01-14 02:39:10 +0100 |
commit | b7841cf7b919b16d1bd4619154bf7cb4c22b4ccd (patch) | |
tree | 117e6973c78259945ed5ea9bcd14eade951066ea /e2fsprogs/old_e2fsprogs/Kbuild.src | |
parent | 90801dadfa06e2277d136132f71a75569593eda4 (diff) | |
download | busybox-b7841cf7b919b16d1bd4619154bf7cb4c22b4ccd.tar.gz |
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@pmarks.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/Kbuild.src')
0 files changed, 0 insertions, 0 deletions