From ea27531e9d2e67c58b4bc6b5fadf9ba848c4e247 Mon Sep 17 00:00:00 2001 From: Thomas Markwalder Date: Tue, 18 Feb 2025 14:24:17 -0500 Subject: [PATCH] [#3463] Fixed JSON error in ARM --- doc/sphinx/arm/hooks-lease-cmds.rst | 2 +- src/hooks/dhcp/lease_cmds/lease_cmds.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/sphinx/arm/hooks-lease-cmds.rst b/doc/sphinx/arm/hooks-lease-cmds.rst index 6c628350e9..f9b2184b4c 100644 --- a/doc/sphinx/arm/hooks-lease-cmds.rst +++ b/doc/sphinx/arm/hooks-lease-cmds.rst @@ -1130,7 +1130,7 @@ lease: { "hooks-libraries": [{ - "library": "/path/libdhcp_lease_cmds.so" + "library": "/path/libdhcp_lease_cmds.so", "parameters": { "binding-variables": [{ "name": "opt-222", diff --git a/src/hooks/dhcp/lease_cmds/lease_cmds.cc b/src/hooks/dhcp/lease_cmds/lease_cmds.cc index 114120dc52..0a19bea1b6 100644 --- a/src/hooks/dhcp/lease_cmds/lease_cmds.cc +++ b/src/hooks/dhcp/lease_cmds/lease_cmds.cc @@ -2856,7 +2856,7 @@ LeaseCmdsImpl::leases6Committed(CalloutHandle& callout_handle, } catch (const NoSuchLease&) { ++failed; LOG_ERROR(lease_cmds_logger, LEASE_CMDS_LEASES6_COMMITTED_CONFLICT) - .arg("WTF") //lease->addr_.toText()) + .arg(lease->addr_.toText()) .arg(query->getLabel()); } catch (const std::exception& ex) { ++failed;