]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Apply 1 suggestion(s) to 1 file(s)
authorThomas Markwalder <tmark@isc.org>
Fri, 25 Apr 2025 11:18:45 +0000 (11:18 +0000)
committerThomas Markwalder <tmark@isc.org>
Tue, 3 Jun 2025 11:27:32 +0000 (11:27 +0000)
Co-authored-by: Tomek Mrugalski <tomek@isc.org>
src/lib/dhcpsrv/parsers/base_network_parser.cc

index 011bad36ab0d243d951751f6bb0d37dcc4881e41..0ca49f0943763511b64aad258eb40f7c650e6a4f 100644 (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);
     }