]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
sources: fix reported normal select option
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 17 Oct 2014 11:05:44 +0000 (13:05 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 20 Oct 2014 09:19:45 +0000 (11:19 +0200)
sources.c

index 6606e7bc77a439ec201e0ae5f39682bdcf1d63b4..1109f1209f1228bd984a00c282d3509564057ba3 100644 (file)
--- a/sources.c
+++ b/sources.c
@@ -1181,7 +1181,7 @@ SRC_ReportSource(int index, RPT_SourceReport *report, struct timeval *now)
 
     switch (src->sel_option) {
       case SRC_SelectNormal:
-        report->sel_option = RPT_NOSELECT;
+        report->sel_option = RPT_NORMAL;
         break;
       case SRC_SelectPrefer:
         report->sel_option = RPT_PREFER;