diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-10-07 17:11:04 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-10-07 17:11:04 +0200 |
commit | 868530ade244bf8162fb6a10816bd815b166d509 (patch) | |
tree | 874fa8d8b979ae95ca53badadfa614f0de4ed7ac /networking/ntpd.c | |
parent | c3b34d8b39cae35fec8c6fb644d90dc80e574236 (diff) | |
download | busybox-w32-1_25_1.tar.gz busybox-w32-1_25_1.tar.bz2 busybox-w32-1_25_1.zip |
Apply post-1.25.0 patches, bump version to 1.25.11_25_1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to '')
-rw-r--r-- | networking/ntpd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/networking/ntpd.c b/networking/ntpd.c index 98158a304..1a3367be2 100644 --- a/networking/ntpd.c +++ b/networking/ntpd.c | |||
@@ -2051,6 +2051,13 @@ recv_and_process_client_pkt(void /*int fd*/) | |||
2051 | goto bail; | 2051 | goto bail; |
2052 | } | 2052 | } |
2053 | 2053 | ||
2054 | /* Respond only to client and symmetric active packets */ | ||
2055 | if ((msg.m_status & MODE_MASK) != MODE_CLIENT | ||
2056 | && (msg.m_status & MODE_MASK) != MODE_SYM_ACT | ||
2057 | ) { | ||
2058 | goto bail; | ||
2059 | } | ||
2060 | |||
2054 | query_status = msg.m_status; | 2061 | query_status = msg.m_status; |
2055 | query_xmttime = msg.m_xmttime; | 2062 | query_xmttime = msg.m_xmttime; |
2056 | 2063 | ||