Parcourir la source

[3121] Corrected some little typos.

Marcin Siodelski il y a 11 ans
Parent
commit
215020f12f
2 fichiers modifiés avec 6 ajouts et 6 suppressions
  1. 2 2
      src/bin/d2/d2_config.cc
  2. 4 4
      src/bin/d2/d2_config.h

+ 2 - 2
src/bin/d2/d2_config.cc

@@ -281,12 +281,12 @@ TSIGKeyInfoListParser::TSIGKeyInfoListParser(const std::string& list_name,
     }
 }
 
-TSIGKeyInfoListParser::~TSIGKeyInfoListParser(){
+TSIGKeyInfoListParser::~TSIGKeyInfoListParser() {
 }
 
 void
 TSIGKeyInfoListParser::
-build(isc::data::ConstElementPtr key_list){
+build(isc::data::ConstElementPtr key_list) {
     int i = 0;
     isc::data::ConstElementPtr key_config;
     // For each key element in the key list:

+ 4 - 4
src/bin/d2/d2_config.h

@@ -191,7 +191,7 @@ public:
 private:
     /// @brief The name of the key.
     ///
-    /// This value is the unique identifeir thay domains use to
+    /// This value is the unique identifier that domains use to
     /// to specify which TSIG key they need.
     std::string name_;
 
@@ -560,7 +560,7 @@ public:
     /// @return returns a pointer to newly created parser.
     virtual isc::dhcp::ParserPtr createConfigParser(const std::string&
                                                     config_id);
-    /// @brief commits the TSIGKeyInfo configuration
+    /// @brief Commits the TSIGKeyInfo configuration
     virtual void commit();
 
 private:
@@ -674,7 +674,7 @@ public:
     virtual isc::dhcp::ParserPtr createConfigParser(const std::string&
                                                     config_id);
 
-    /// @brief commits the configured DnsServerInfo
+    /// @brief Commits the configured DnsServerInfo
     virtual void commit();
 
 private:
@@ -787,7 +787,7 @@ public:
     virtual isc::dhcp::ParserPtr createConfigParser(const std::string&
                                                     config_id);
 
-    /// @brief commits the configured DdnsDomain
+    /// @brief Commits the configured DdnsDomain
     virtual void commit();
 
 private: