mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:45:07 -05:00
cmdmon: rename status constants
Change the naming of reported selection status in the sources report to better match the internal status.
This commit is contained in:
@@ -1504,16 +1504,16 @@ SRC_ReportSource(int index, RPT_SourceReport *report, struct timespec *now)
|
||||
case SRC_WAITS_UPDATE:
|
||||
case SRC_DISTANT:
|
||||
case SRC_OUTLIER:
|
||||
report->state = RPT_OUTLIER;
|
||||
report->state = RPT_SELECTABLE;
|
||||
break;
|
||||
case SRC_UNSELECTED:
|
||||
report->state = RPT_CANDIDATE;
|
||||
report->state = RPT_UNSELECTED;
|
||||
break;
|
||||
case SRC_SELECTED:
|
||||
report->state = RPT_SYNC;
|
||||
report->state = RPT_SELECTED;
|
||||
break;
|
||||
default:
|
||||
report->state = RPT_UNREACH;
|
||||
report->state = RPT_NONSELECTABLE;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user