Add minstratum option

Stratum in received packets is raised to the configured minimum.
This commit is contained in:
Benny Lyne Amorsen
2010-08-24 18:37:38 +02:00
committed by Miroslav Lichvar
parent fe4b661fe7
commit c8fe69c956
7 changed files with 35 additions and 1 deletions

3
conf.c
View File

@@ -394,6 +394,9 @@ parse_source(const char *line, NTP_Source_Type type)
case CPS_BadKey:
LOG(LOGS_WARN, LOGF_Configure, "Unreadable key value at line %d", line_number);
break;
case CPS_BadMinstratum:
LOG(LOGS_WARN, LOGF_Configure, "Unreadable minstratum value at line %d", line_number);
break;
}
return;