]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2011] Addressed last comments
authorFrancis Dupont <fdupont@isc.org>
Mon, 9 Aug 2021 14:46:03 +0000 (16:46 +0200)
committerFrancis Dupont <fdupont@isc.org>
Mon, 9 Aug 2021 15:08:24 +0000 (17:08 +0200)
src/bin/d2/nc_trans.cc
src/lib/d2srv/d2_config.h

index 212cac1e9c4040c1bad149f9983f1afcb922cd72..6f5c8ebb9f0bdc667e2beaa6b1c37f9c63d5f491 100644 (file)
@@ -507,7 +507,7 @@ NameChangeTransaction::selectTSIGKey() {
         HooksManager::callCallouts(Hooks.hooks_index_select_key_,
                                    *callout_handle);
 
-        // This server is skipped because of status is not NEXT_STEP_CONTINUE.
+        // This server is skipped because the status is not NEXT_STEP_CONTINUE.
         if (callout_handle->getStatus() != CalloutHandle::NEXT_STEP_CONTINUE) {
             return (false);
         }
index 2017855033ddaf584a5bbccc321f829f1ca8f7e6..ef62d22862992ff19726a15e00f2d7de72447208 100644 (file)
@@ -451,7 +451,7 @@ public:
 
     /// @brief Getter which returns the server's hostname.
     ///
-    /// @return the hostname as as std::string.
+    /// @return the hostname as a std::string.
     const std::string getHostname() const {
         return (hostname_);
     }
@@ -510,7 +510,6 @@ public:
     /// @return a pointer to a configuration
     virtual isc::data::ElementPtr toElement() const;
 
-
 private:
     /// @brief The resolvable name of the server. If not blank, then the
     /// server's IP address should be dynamically resolved at runtime.
@@ -527,12 +526,12 @@ private:
     /// enabled for use. It defaults to true.
     bool enabled_;
 
-    /// @brief Pointer to domain's the TSIGKeyInfo.
-    /// Value is empty if the domain is not configured for TSIG.
+    /// @brief Pointer to the server TSIGKeyInfo..
+    /// Value is empty if the server is not configured for TSIG.
     TSIGKeyInfoPtr tsig_key_info_;
 
     /// @brief Inherited key. When true the key was inherited from the domain,
-    /// when false the key was not inherited from the domain.
+    /// false otherwise.
     bool inherited_key_;
 };