mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Tomek Mrugalski <tomek@isc.org>
This commit is contained in:
@@ -127,7 +127,7 @@ BaseNetworkParser::parseCacheParams(const ConstElementPtr& network_data,
|
||||
double cache_threshold = getDouble(network_data, "cache-threshold");
|
||||
if ((cache_threshold < 0.0) || (cache_threshold >= 1.0)) {
|
||||
isc_throw(DhcpConfigError, "cache-threshold: " << cache_threshold
|
||||
<< " is invalid, it must be greater than 0.0 and less than 1.0");
|
||||
<< " is invalid, it must be greater than or equal to 0.0 and less than 1.0");
|
||||
}
|
||||
network->setCacheThreshold(cache_threshold);
|
||||
}
|
||||
|
Reference in New Issue
Block a user