]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4181] Fix flex-id expression
authorAndrei Pavel <andrei@isc.org>
Thu, 16 Oct 2025 11:42:11 +0000 (14:42 +0300)
committerThomas Markwalder <tmark@isc.org>
Tue, 21 Oct 2025 14:17:50 +0000 (14:17 +0000)
src/hooks/dhcp/flex_id/load_unload.cc

index 5bc5f3a30f4ea3b5f3de43085bd87f4ff9616f2f..4d9a0d6afc20f9899b902907a08ec11bcf66fc88 100644 (file)
@@ -84,7 +84,7 @@ int load(LibraryHandle& handle) {
                 return (1);
             }
 
-            std::string expr = param->stringValue();
+            expr = param->stringValue();
             if (!expr.empty() && !checkExpression(v6, expr)) {
                 // The error was logged.
                 return (1);
@@ -93,7 +93,7 @@ int load(LibraryHandle& handle) {
 
         if (expr.empty()) {
             // Ok, we can continue without the expression. This is likely the
-            // case when users are only interested in ignore-iaid. 
+            // case when users are only interested in ignore-iaid.
             LOG_DEBUG(flex_id_logger, DBGLVL_TRACE_BASIC,
                       FLEX_ID_NO_IDENTIFIER_EXPRESSION);
         }