Skip to content
Snippets Groups Projects
Commit ae255c65 authored by Jean-Claude BAU's avatar Jean-Claude BAU
Browse files

SNMP: Update wrsSystemClockStatus according to wrsSystemClockStatusDetails

parent 2ea56ac1
Branches
Tags
No related merge requests found
......@@ -354,9 +354,11 @@ static void get_wrsSystemClockStatus(void){
status=WRS_SYSTEM_CLOCK_STATUS_ERROR_MINOR;
break;
case WRS_SYSTEM_CLOCK_STATUS_DETAILS_UNKNOWN :
case WRS_SYSTEM_CLOCK_STATUS_DETAILS_ERROR :
case WRS_SYSTEM_CLOCK_STATUS_DETAILS_NTP_ERROR :
status=WRS_SYSTEM_CLOCK_STATUS_ERROR;
break;
case WRS_SYSTEM_CLOCK_STATUS_DETAILTS_THRESHOLD_EXCEEDED :
case WRS_SYSTEM_CLOCK_STATUS_DETAILS_THRESHOLD_EXCEEDED :
status=WRS_SYSTEM_CLOCK_STATUS_THRESHOLD_EXCEEDED;
break;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment