From: Thomas Markwalder Date: Fri, 25 Apr 2025 11:18:45 +0000 (+0000) Subject: Apply 1 suggestion(s) to 1 file(s) X-Git-Tag: Kea-3.0.0~147 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=667dbc96b078894d5bafea78f7fc4bfc41fb07ef;p=thirdparty%2Fkea.git Apply 1 suggestion(s) to 1 file(s) Co-authored-by: Tomek Mrugalski --- diff --git a/src/lib/dhcpsrv/parsers/base_network_parser.cc b/src/lib/dhcpsrv/parsers/base_network_parser.cc index 011bad36ab..0ca49f0943 100644 --- a/src/lib/dhcpsrv/parsers/base_network_parser.cc +++ b/src/lib/dhcpsrv/parsers/base_network_parser.cc @@ -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); }