]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3875] fixed args order in flex option hook lib logs
authorRazvan Becheriu <razvan@isc.org>
Tue, 27 May 2025 13:58:07 +0000 (16:58 +0300)
committerRazvan Becheriu <razvan@isc.org>
Fri, 30 May 2025 07:21:30 +0000 (07:21 +0000)
AUTHORS
ChangeLog
src/hooks/dhcp/flex_option/flex_option.cc

diff --git a/AUTHORS b/AUTHORS
index c8b474a3efae8b4e7478c4c157840b2f00bed393..c82a04477e480da47d04aca83673dcc022367b7f 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -314,3 +314,6 @@ We have received the following contributions:
 
  - q66
    2025-01: Added support for building with Boost 1.87.
+
+ - Darwin4053
+   2025-06: Fixed arguments order in flex option hook library debug messages.
index 7ae037f543504cd71b8c56a46009f657f093bf59..10b98dad11ddaf7c250e443557013ef1ddbad2ac 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2348.  [bug]           razvan, Darwin4053
+       Fix arguments order in flex option hook library debug messages.
+       (Gitlab #3875)
+
 Kea 2.7.9 (development) released on May 28, 2025
 
 2347.  [build]         andrei
index 62193fa0944d184936d3173f5e7612e3faca6393..0ed9d44c1fb4410c04f9e381bd5186a74b719a07 100644 (file)
@@ -490,8 +490,8 @@ void
 FlexOptionImpl::logClass(const ClientClass& client_class, uint16_t code) {
     LOG_DEBUG(flex_option_logger, DBGLVL_TRACE_BASIC,
               FLEX_OPTION_PROCESS_CLIENT_CLASS)
-        .arg(client_class)
-        .arg(code);
+        .arg(code)
+        .arg(client_class);
     return;
 }
 
@@ -550,9 +550,9 @@ FlexOptionImpl::logSubClass(const ClientClass& client_class, uint16_t code,
                             uint16_t container_code) {
     LOG_DEBUG(flex_option_logger, DBGLVL_TRACE_BASIC,
               FLEX_OPTION_PROCESS_SUB_CLIENT_CLASS)
-        .arg(client_class)
         .arg(code)
-        .arg(container_code);
+        .arg(container_code)
+        .arg(client_class);
     return;
 }