]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
sources: don't report untrusted sources as selectable
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 8 Sep 2020 08:45:24 +0000 (10:45 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 10 Sep 2020 07:36:35 +0000 (09:36 +0200)
Show untrusted sources with the '?' symbol instead of '-' to make them
consistent with not selectable and selectable sources in the selectdata
description.

sources.c

index c17d638442900f516bbcdb303816fdf20b586131..817aadd99ade205c45fc9c129a7388480dbfcdb9 100644 (file)
--- a/sources.c
+++ b/sources.c
@@ -1499,7 +1499,6 @@ SRC_ReportSource(int index, RPT_SourceReport *report, struct timespec *now)
       case SRC_JITTERY:
         report->state = RPT_JITTERY;
         break;
-      case SRC_UNTRUSTED:
       case SRC_WAITS_SOURCES:
       case SRC_NONPREFERRED:
       case SRC_WAITS_UPDATE: