From fac7aa45c538ecd9c92245a39858360471fffcdb Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Wed, 17 Sep 2025 23:40:14 +0200 Subject: [PATCH] [#2305] Addressed some comments --- ...2305-status-get-return-csv-lease-file-location-when-used | 6 +++--- src/lib/dhcpsrv/memfile_lease_mgr.h | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/changelog_unreleased/2305-status-get-return-csv-lease-file-location-when-used b/changelog_unreleased/2305-status-get-return-csv-lease-file-location-when-used index 296105f2f9..c6117cbfe0 100644 --- a/changelog_unreleased/2305-status-get-return-csv-lease-file-location-when-used +++ b/changelog_unreleased/2305-status-get-return-csv-lease-file-location-when-used @@ -1,5 +1,5 @@ [func] fdupont - When Kea is configured to use a CSV backup file for leases, - the "status-get" command returns its location is the - "csv-lease-file" entry. + When Kea is configured to use the memfile lease backend, + the "status-get" command returns the location of the + CVS backup file in the "csv-lease-file" entry. (Gitlab #2305) diff --git a/src/lib/dhcpsrv/memfile_lease_mgr.h b/src/lib/dhcpsrv/memfile_lease_mgr.h index bb02dd248d..0c6e67a639 100644 --- a/src/lib/dhcpsrv/memfile_lease_mgr.h +++ b/src/lib/dhcpsrv/memfile_lease_mgr.h @@ -972,6 +972,8 @@ public: /// /// @return Null or a map with the lease file name to add to /// status-get command output. + /// + /// E.g. { "csv-lease-file": "/var/lib/kea/kea-leases4.csv" } virtual data::ElementPtr getStatus() const override; //@} -- 2.47.3