From: Francis Dupont Date: Wed, 17 Sep 2025 21:40:14 +0000 (+0200) Subject: [#2305] Addressed some comments X-Git-Tag: Kea-3.1.2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fac7aa45c538ecd9c92245a39858360471fffcdb;p=thirdparty%2Fkea.git [#2305] Addressed some comments --- 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; //@}