]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1239] csv lease file is now kea thread safe
authorRazvan Becheriu <razvan@isc.org>
Tue, 9 Jun 2020 10:04:56 +0000 (13:04 +0300)
committerRazvan Becheriu <razvan@isc.org>
Tue, 16 Jun 2020 09:02:52 +0000 (09:02 +0000)
src/lib/dhcpsrv/csv_lease_file4.h
src/lib/dhcpsrv/csv_lease_file6.h

index 5802c368d721db3f74e61272d65f303b4564955f..93f09f95d335446756de9458826f9108dc8ea733 100644 (file)
@@ -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.
index e8d048e47a317831fbfad91cad2e067cd3cf6af4..2cbc52cb58cd04fce4eef1c2e2e9b98122f8a86a 100644 (file)
@@ -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.