From: Razvan Becheriu Date: Tue, 9 Jun 2020 10:04:56 +0000 (+0300) Subject: [#1239] csv lease file is now kea thread safe X-Git-Tag: Kea-1.7.9~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5951ea902f42d062f0878fbbbdc5aec36144826d;p=thirdparty%2Fkea.git [#1239] csv lease file is now kea thread safe --- diff --git a/src/lib/dhcpsrv/csv_lease_file4.h b/src/lib/dhcpsrv/csv_lease_file4.h index 5802c368d7..93f09f95d3 100644 --- a/src/lib/dhcpsrv/csv_lease_file4.h +++ b/src/lib/dhcpsrv/csv_lease_file4.h @@ -51,6 +51,8 @@ public: virtual void open(const bool seek_to_end = false); /// @brief Closes the lease file. + /// + /// This function should hide instead of overwrite the base class function. virtual void close(); /// @brief Appends the lease record to the CSV file. diff --git a/src/lib/dhcpsrv/csv_lease_file6.h b/src/lib/dhcpsrv/csv_lease_file6.h index e8d048e47a..2cbc52cb58 100644 --- a/src/lib/dhcpsrv/csv_lease_file6.h +++ b/src/lib/dhcpsrv/csv_lease_file6.h @@ -50,6 +50,8 @@ public: virtual void open(const bool seek_to_end = false); /// @brief Closes the lease file. + /// + /// This function should hide instead of overwrite the base class function. virtual void close(); /// @brief Appends the lease record to the CSV file.