mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:35:06 -05:00
Limit sources included in combining
Combine only sources whose distance is shorter than distance of the selected source multiplied by the value of combinelimit and their estimated frequencies are close to the frequency of the selected source. Add outlyer status for sources which are selectable, but not included in the combining. The status is displayed as '-' in the chronyc sources output.
This commit is contained in:
3
cmdmon.c
3
cmdmon.c
@@ -1050,6 +1050,9 @@ handle_source_data(CMD_Request *rx_message, CMD_Reply *tx_message)
|
||||
case RPT_CANDIDATE:
|
||||
tx_message->data.source_data.state = htons(RPY_SD_ST_CANDIDATE);
|
||||
break;
|
||||
case RPT_OUTLYER:
|
||||
tx_message->data.source_data.state = htons(RPY_SD_ST_OUTLYER);
|
||||
break;
|
||||
}
|
||||
switch (report.mode) {
|
||||
case RPT_NTP_CLIENT:
|
||||
|
||||
Reference in New Issue
Block a user