2
0
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:
Thomas Markwalder
2025-04-25 11:18:45 +00:00
parent 3343fba98b
commit 667dbc96b0

View File

@@ -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);
}