]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#549] address review comments
authorAndrei Pavel <andrei@isc.org>
Wed, 19 Apr 2023 17:50:16 +0000 (20:50 +0300)
committerAndrei Pavel <andrei@isc.org>
Wed, 19 Apr 2023 20:56:01 +0000 (23:56 +0300)
src/lib/dhcpsrv/base_host_data_source.h

index e5e42e28597a4287ab6e44b68a3eb65fbdedee4e..0f54f6045f950541d9586aca09d433fcb480fce3 100644 (file)
@@ -461,6 +461,10 @@ public:
 
     /// @brief Attempts to update an existing host entry.
     ///
+    /// The implementation is common to multiple host data sources, so let's
+    /// provide it in the base host data source. In some instances, it may
+    /// require synchronization e.g. with transactions in case of databases.
+    ///
     /// @param host the host up to date with the requested changes
     virtual void update(HostPtr const& host) {
         bool deleted(false);