diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-12 05:01:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-12 05:01:23 +0000 |
commit | ad8b7d9e228c894c12cc061770b1a39d037e90ab (patch) | |
tree | d5bee8d23cb0a8de0d2fcab6b74d5becc8598296 /pktlength.c | |
parent | Adding upstream version 4.5. (diff) | |
download | chrony-ad8b7d9e228c894c12cc061770b1a39d037e90ab.tar.xz chrony-ad8b7d9e228c894c12cc061770b1a39d037e90ab.zip |
Adding upstream version 4.6.upstream/4.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'pktlength.c')
-rw-r--r-- | pktlength.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pktlength.c b/pktlength.c index d7ed272..8d5ffa7 100644 --- a/pktlength.c +++ b/pktlength.c @@ -111,7 +111,7 @@ static const struct request_length request_lengths[] = { REQ_LENGTH_ENTRY(null, null), /* REFRESH */ REQ_LENGTH_ENTRY(null, server_stats), /* SERVER_STATS */ { 0, 0 }, /* CLIENT_ACCESSES_BY_INDEX2 - not supported */ - REQ_LENGTH_ENTRY(local, null), /* LOCAL2 */ + { 0, 0 }, /* LOCAL2 - not supported */ REQ_LENGTH_ENTRY(ntp_data, ntp_data), /* NTP_DATA */ { 0, 0 }, /* ADD_SERVER2 */ { 0, 0 }, /* ADD_PEER2 */ @@ -130,6 +130,8 @@ static const struct request_length request_lengths[] = { REQ_LENGTH_ENTRY(null, null), /* RELOAD_SOURCES */ REQ_LENGTH_ENTRY(doffset, null), /* DOFFSET2 */ REQ_LENGTH_ENTRY(modify_select_opts, null), /* MODIFY_SELECTOPTS */ + REQ_LENGTH_ENTRY(modify_offset, null), /* MODIFY_OFFSET */ + REQ_LENGTH_ENTRY(local, null), /* LOCAL3 */ }; static const uint16_t reply_lengths[] = { @@ -149,7 +151,7 @@ static const uint16_t reply_lengths[] = { RPY_LENGTH_ENTRY(smoothing), /* SMOOTHING */ 0, /* SERVER_STATS - not supported */ 0, /* CLIENT_ACCESSES_BY_INDEX2 - not supported */ - RPY_LENGTH_ENTRY(ntp_data), /* NTP_DATA */ + 0, /* NTP_DATA - not supported */ RPY_LENGTH_ENTRY(manual_timestamp), /* MANUAL_TIMESTAMP2 */ RPY_LENGTH_ENTRY(manual_list), /* MANUAL_LIST2 */ RPY_LENGTH_ENTRY(ntp_source_name), /* NTP_SOURCE_NAME */ @@ -159,6 +161,7 @@ static const uint16_t reply_lengths[] = { RPY_LENGTH_ENTRY(select_data), /* SELECT_DATA */ 0, /* SERVER_STATS3 - not supported */ RPY_LENGTH_ENTRY(server_stats), /* SERVER_STATS4 */ + RPY_LENGTH_ENTRY(ntp_data), /* NTP_DATA2 */ }; /* ================================================== */ |