Print sources with bad stats in client as unreachable
This commit is contained in:
parent
db510a9558
commit
2e74beebbf
1 changed files with 5 additions and 1 deletions
|
@ -1081,15 +1081,19 @@ SRC_ReportSource(int index, RPT_SourceReport *report, struct timeval *now)
|
|||
case SRC_JITTERY:
|
||||
report->state = RPT_JITTERY;
|
||||
break;
|
||||
case SRC_BAD_STATS:
|
||||
case SRC_UNREACHABLE:
|
||||
report->state = RPT_UNREACH;
|
||||
break;
|
||||
case SRC_FALSETICKER:
|
||||
report->state = RPT_FALSETICKER;
|
||||
break;
|
||||
default:
|
||||
case SRC_SELECTABLE:
|
||||
report->state = RPT_OTHER;
|
||||
break;
|
||||
default:
|
||||
assert(0);
|
||||
break;
|
||||
}
|
||||
/* Call stats module to fill out estimates */
|
||||
SST_DoSourceReport(src->stats, report, now);
|
||||
|
|
Loading…
Reference in a new issue