]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1821] spelling corrections
authorAndrei Pavel <andrei@isc.org>
Fri, 23 Apr 2021 17:09:02 +0000 (20:09 +0300)
committerMichal Nowikowski <godfryd@isc.org>
Mon, 26 Apr 2021 06:04:55 +0000 (06:04 +0000)
54 files changed:
configure.ac
doc/devel/Doxyfile
doc/examples/kea4/advanced.json
doc/examples/kea4/leases-expiration.json
doc/examples/kea4/multiple-options.json
doc/examples/kea4/mysql-reservations.json
doc/examples/kea4/pgsql-reservations.json
doc/examples/kea4/reservations.json
doc/examples/kea4/several-subnets.json
doc/examples/kea4/single-subnet.json
doc/examples/kea4/vendor-specific.json
doc/examples/kea4/vivso.json
doc/examples/kea4/with-ddns.json
doc/examples/kea6/advanced.json
doc/examples/kea6/duid.json
doc/examples/kea6/leases-expiration.json
doc/examples/kea6/multiple-options.json
doc/examples/kea6/mysql-reservations.json
doc/examples/kea6/pgsql-reservations.json
doc/examples/kea6/reservations.json
doc/examples/kea6/several-subnets.json
doc/examples/kea6/simple.json
doc/examples/kea6/tee-times.json
doc/examples/kea6/with-ddns.json
doc/sphinx/arm/dhcp4-srv.rst
src/bin/agent/tests/ca_controller_unittests.cc
src/bin/d2/nc_trans.h
src/bin/d2/tests/d2_process_unittests.cc
src/bin/dhcp6/dhcp6_srv.h
src/bin/dhcp6/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/hooks_unittest.cc
src/hooks/dhcp/high_availability/libloadtests/close_unittests.cc
src/hooks/dhcp/high_availability/tests/ha_mt_unittest.cc
src/hooks/dhcp/high_availability/tests/ha_service_unittest.cc
src/lib/asiolink/tests/interval_timer_unittest.cc
src/lib/database/dbaccess_parser.h
src/lib/dhcp/pkt6.h
src/lib/dhcp/tests/option_data_types_unittest.cc
src/lib/dhcp_ddns/ncr_msg.h
src/lib/dhcp_ddns/ncr_udp.cc
src/lib/dhcpsrv/cfg_option.h
src/lib/dhcpsrv/parsers/dhcp_parsers.h
src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
src/lib/dns/rrset.h
src/lib/hooks/callout_manager.h
src/lib/hooks/parking_lots.h
src/lib/hooks/tests/common_test_class.h
src/lib/http/http_messages.mes
src/lib/log/logging.dox
src/lib/util/strutil.h
src/lib/util/tests/csv_file_unittest.cc
src/lib/util/tests/versioned_csv_file_unittest.cc
src/lib/util/versioned_csv_file.cc
src/lib/yang/adaptor_pool.h

index 8aa6752599c41b9518bec07e2c3397586ae99ed9..daf3a9f54fdef6e119e982d9ad1f08e978662526 100644 (file)
@@ -1253,9 +1253,7 @@ if test $enable_gtest != "no"; then
     CPPFLAGS=$CPPFLAGS_SAVED
 fi
 
-# ASIO: we extensively use it as the C++ event management module.
-#
-# Use our 'coroutine' header from ext
+# Provide the ability to include our coroutine header or other headers from ext.
 CPPFLAGS="$CPPFLAGS -I\$(top_srcdir) -I\$(top_builddir)"
 
 # Doesn't seem to be required?
index 855d06767d354434c0ad86bb3653c3e16926ea8b..579edf2c92ff30776628ab00fd6dfe54edfb64de 100644 (file)
@@ -456,7 +456,7 @@ LOOKUP_CACHE_SIZE      = 0
 # than 0 to get more control over the balance between CPU load and processing
 # speed. At this moment only the input processing can be done using multiple
 # threads. Since this is still an experimental feature the default is set to 1,
-# which efficively disables parallel processing. Please report any issues you
+# which effectively disables parallel processing. Please report any issues you
 # encounter. Generating dot graphs in parallel is controlled by the
 # DOT_NUM_THREADS setting.
 # Minimum value: 0, maximum value: 32, default value: 1.
index 2a9fd054a84a32f2aace233a19412acf782ac979..a3c4299e234839ce6bbffda516dcfe46cc030207 100644 (file)
@@ -72,7 +72,7 @@
         "type": "binary"
     } ],
 
-    // We need to specify the the database used to store leases. As of
+    // We need to specify the database used to store leases. As of
     // September 2016, four database backends are supported: MySQL,
     // PostgreSQL, Cassandra, and the in-memory database, Memfile.
     // We'll use memfile  because it doesn't require any prior set up.
index fe28ad7bac4890e84cbaed2e9c7e2111a8ef62d8..96300fbf30d3233da2136a82c2cd1c0c37a557e5 100644 (file)
@@ -10,7 +10,7 @@
     "interfaces": [ "ethX" ]
   },
 
-// We need to specify the the database used to store leases. As of
+// We need to specify the database used to store leases. As of
 // September 2016, four database backends are supported: MySQL,
 // PostgreSQL, Cassandra, and the in-memory database, Memfile.
 // We'll use memfile  because it doesn't require any prior set up.
index 27ab77e658277901927f9472b3dda5cad262c7ab..dd3a7cd1230e437214d09b1e23efc020a301ec70 100644 (file)
@@ -9,7 +9,7 @@
     "interfaces": [ "ethX" ]
   },
 
-// We need to specify the the database used to store leases. As of
+// We need to specify the database used to store leases. As of
 // September 2016, four database backends are supported: MySQL,
 // PostgreSQL, Cassandra, and the in-memory database, Memfile.
 // We'll use memfile  because it doesn't require any prior set up.
index a03eb077dac95b4119e1caae3e7ddede8fe00ae1..d859edd002062421464b4e4b007f7b0842dc6748 100644 (file)
@@ -11,7 +11,7 @@
 
   },
 
-// We need to specify the the database used to store leases. As of
+// We need to specify the database used to store leases. As of
 // September 2016, four database backends are supported: MySQL,
 // PostgreSQL, Cassandra, and the in-memory database, Memfile.
 // We'll use memfile  because it doesn't require any prior set up.
index 36d9f3ea93a4e525d2afe7321eaebd1bfbd68d75..1ad822f9338e521ec0ec93f6e00207c0a3e5d0f7 100644 (file)
@@ -11,7 +11,7 @@
   },
 
 
-// We need to specify the the database used to store leases. As of
+// We need to specify the database used to store leases. As of
 // September 2016, four database backends are supported: MySQL,
 // PostgreSQL, Cassandra, and the in-memory database, Memfile.
 // We'll use memfile  because it doesn't require any prior set up.
index d8b6b5c00d8370e055f5c075c99a505e3ee9e852..0b9437cac7de1a5ca4832c6c752ab277ba42f858 100644 (file)
@@ -9,7 +9,7 @@
     "interfaces": [ "ethX" ]
   },
 
-// We need to specify the the database used to store leases. As of September
+// We need to specify the database used to store leases. As of September
 // 2016, four database backends are supported: MySQL, PostgreSQL, Cassandra, and
 // the in-memory database, Memfile.  We'll use memfile because it doesn't
 // require any prior set up.
index 1151daff196cff230ca070b67e661bbe8b0dd1f6..37a7a3671bf785c6b26367945e8204a795c3bad2 100644 (file)
@@ -10,7 +10,7 @@
     "interfaces": [ "ethX" ]
   },
 
-// We need to specify the the database used to store leases. As of
+// We need to specify the database used to store leases. As of
 // September 2016, four database backends are supported: MySQL,
 // PostgreSQL, Cassandra, and the in-memory database, Memfile.
 // We'll use memfile  because it doesn't require any prior set up.
index a71014b8566bc761dd053d4b551803be9cc06a02..bcbf864f455cfd66189c53c567a96ca6761fbf2e 100644 (file)
@@ -10,7 +10,7 @@
     "interfaces": [ "ethX" ]
   },
 
-// We need to specify the the database used to store leases. As of
+// We need to specify the database used to store leases. As of
 // September 2016, four database backends are supported: MySQL,
 // PostgreSQL, Cassandra, and the in-memory database, Memfile.
 // We'll use memfile  because it doesn't require any prior set up.
index 9796daa62d25fddcc5ce87f615be252a099911b9..64b23b50a311fc53490dafa12b68968da09bedc4 100644 (file)
@@ -74,7 +74,7 @@
         "interfaces-config": {
             "interfaces": ["ethX"]
         },
-// We need to specify the the database used to store leases.
+// We need to specify the database used to store leases.
         "lease-database": {
             "type": "memfile"
         },
index b5b1106b00518c2d03f2ed8198beb3e7315bd507..7f091b6f82072a11c68e931d1a215fc92238b40a 100644 (file)
@@ -68,7 +68,7 @@
                 "ethX"
             ]
         },
-// We need to specify the the database used to store leases.
+// We need to specify the database used to store leases.
         "lease-database": {
             "type": "memfile"
         },
index 8ca16d68afa813d78eda42c1470d6883c166d6a7..e29a7b18e1333bf92cd09d8bae09cf8d4dd01d44 100644 (file)
@@ -10,7 +10,7 @@
     "interfaces": [ "ethX" ]
   },
 
-// We need to specify the the database used to store leases. As of
+// We need to specify the database used to store leases. As of
 // September 2016, four database backends are supported: MySQL,
 // PostgreSQL, Cassandra, and the in-memory database, Memfile.
 // We'll use memfile  because it doesn't require any prior set up.
index fe27e478dadbfb615ba7dbcc0c47dad794f10145..c8b48c1b318e786d7a2b747867113df141697817 100644 (file)
@@ -23,7 +23,7 @@
         "re-detect": true
     },
 
-    // We need to specify the the database used to store leases. As of
+    // We need to specify the database used to store leases. As of
     // September 2016, four database backends are supported: MySQL,
     // PostgreSQL, Cassandra, and the in-memory database, Memfile.
     // We will use memfile  because it doesn't require any prior set up.
index 1eecfb5394d9e5c10a51446cc2e61f22b6769423..5fb0641a515f52774416fbf9a87746687fdf65c1 100644 (file)
@@ -30,7 +30,7 @@
     "interfaces": [ "ethX" ]
   },
 
-// We need to specify the the database used to store leases. As of
+// We need to specify the database used to store leases. As of
 // September 2016, four database backends are supported: MySQL,
 // PostgreSQL, Cassandra, and the in-memory database, Memfile.
 // We'll use memfile  because it doesn't require any prior set up.
index 19987c3db99c85ef664df28f412bda91c9f731b1..5ac98ed5d034dacfbe30c29acbb11809c943ddc1 100644 (file)
@@ -10,7 +10,7 @@
     "interfaces": [ "ethX" ]
   },
 
-// We need to specify the the database used to store leases. As of
+// We need to specify the database used to store leases. As of
 // September 2016, four database backends are supported: MySQL,
 // PostgreSQL, Cassandra, and the in-memory database, Memfile.
 // We'll use memfile  because it doesn't require any prior set up.
index e08558eb8990ac19140ef38eb96e0a02e58e0c4c..a8d42eaef684e48e1935fe67a07c40fe0bb1df84 100644 (file)
@@ -9,7 +9,7 @@
     "interfaces": [ "ethX" ]
   },
 
-// We need to specify the the database used to store leases. As of
+// We need to specify the database used to store leases. As of
 // September 2016, four database backends are supported: MySQL,
 // PostgreSQL, Cassandra, and the in-memory database, Memfile.
 // We'll use memfile  because it doesn't require any prior set up.
index 96ad40a3cf72fa55ab83b56928de1ee9c811ae3a..ace277873781bb1cb5616db64e84890fab8221d3 100644 (file)
@@ -10,7 +10,7 @@
     "interfaces": [ "ethX" ]
   },
 
-// We need to specify the the database used to store leases. As of
+// We need to specify the database used to store leases. As of
 // September 2016, four database backends are supported: MySQL,
 // PostgreSQL, Cassandra, and the in-memory database, Memfile.
 // We'll use memfile  because it doesn't require any prior set up.
index 83a430e04e97631447395d9590fe03709f3937fd..0c611469a0df3b6a9e8aa31ceb31f6f2c87a5e91 100644 (file)
@@ -10,7 +10,7 @@
     "interfaces": [ "ethX" ]
   },
 
-// We need to specify the the database used to store leases. As of
+// We need to specify the database used to store leases. As of
 // September 2016, four database backends are supported: MySQL,
 // PostgreSQL, Cassandra, and the in-memory database, Memfile.
 // We'll use memfile  because it doesn't require any prior set up.
index 8146bfd511bf36164fe041086f98a249ac2f0610..e860e3ccb426e0f1678c33de22630f40c2484ee7 100644 (file)
@@ -12,7 +12,7 @@
     "interfaces": [ "ethX" ]
   },
 
-// We need to specify the the database used to store leases. As of
+// We need to specify the database used to store leases. As of
 // September 2016, four database backends are supported: MySQL,
 // PostgreSQL, Cassandra, and the in-memory database, Memfile.
 // We'll use memfile  because it doesn't require any prior set up.
index bbebe365e4e5c6da243066a3f4b2fdd3fbec16cf..226875997f1d592600736133e2cb4dc7212fce6f 100644 (file)
@@ -10,7 +10,7 @@
     "interfaces": [ "ethX" ]
   },
 
-// We need to specify the the database used to store leases. As of
+// We need to specify the database used to store leases. As of
 // September 2016, four database backends are supported: MySQL,
 // PostgreSQL, Cassandra, and the in-memory database, Memfile.
 // We'll use memfile  because it doesn't require any prior set up.
index fcf0832e98c091e18d09f541be2a0ac961781221..e359df5eb3eae75468b669692c4694c70a8ac36a 100644 (file)
@@ -11,7 +11,7 @@
     "interfaces": [ "ethX" ]
   },
 
-// We need to specify the the database used to store leases. As of
+// We need to specify the database used to store leases. As of
 // September 2016, four database backends are supported: MySQL,
 // PostgreSQL, Cassandra, and the in-memory database, Memfile.
 // We'll use memfile  because it doesn't require any prior set up.
index be9192e892a17c601c1b1df14c5422bd3d1a9df9..6b14649cabc6b2a9f16e11316caf8b64d5b5b163 100644 (file)
@@ -10,7 +10,7 @@
     "interfaces": [ "ethX" ]
   },
 
-// We need to specify the the database used to store leases. As of
+// We need to specify the database used to store leases. As of
 // September 2016, four database backends are supported: MySQL,
 // PostgreSQL, Cassandra, and the in-memory database, Memfile.
 // We'll use memfile  because it doesn't require any prior set up.
index 9863b9927e1e6c75816c31e5de507f960be55f8e..afc823a373e0b161c0f7b98c5ae774c62503fc45 100644 (file)
@@ -11,7 +11,7 @@
     "interfaces": [ "ethX" ]
   },
 
-// We need to specify the the database used to store leases. As of
+// We need to specify the database used to store leases. As of
 // September 2016, four database backends are supported: MySQL,
 // PostgreSQL, Cassandra, and the in-memory database, Memfile.
 // We'll use memfile  because it doesn't require any prior set up.
index ee0c98c94597acd4f97f9e295be12985da873950..084ccb94e2e06adf9ab8d3c8916b302624ff203e 100644 (file)
@@ -2499,7 +2499,7 @@ Another possibility is to redefine the option; see :ref:`dhcp4-private-opts`.
 
 Also, Kea comes with several example configuration files. Some of them showcase
 how to configure the option 60 and 43. See ``doc/examples/kea4/vendor-specific.json``
-and ``doc/examples/kea6/vivso.json`` in the the Kea sources.
+and ``doc/examples/kea6/vivso.json`` in the Kea sources.
 
 .. note::
 
index b7233a9c4224f86e2094adedaae08e581383a149..cc6709182dc08aeeef3dd7a7e6ef1cd5f54b585b 100644 (file)
@@ -493,7 +493,7 @@ TEST_F(CtrlAgentControllerTest, configWrite) {
     ifstream f(file.c_str());
     ASSERT_TRUE(f.good());
 
-    // Now that's some rough check that the the config written really contains
+    // Now that's some rough check that the config written really contains
     // something that looks like Control-agent configuration.
     ConstElementPtr from_file = Element::fromJSONFile(file, true);
     ASSERT_TRUE(from_file);
index 014e04d6bc2adff64370903b397b9d75886809c1..769de10d59cee39f8d474abd0e790c178ddce9aa 100644 (file)
@@ -401,7 +401,7 @@ protected:
 
     /// @brief Returns a string version of the current response status and rcode
     ///
-    /// Renders a string containing the a text label current DNS update status
+    /// Renders a string containing the text label of current DNS update status
     /// and RCODE (if status is DNSClient::SUCCESS)
     ///
     /// @return std::string containing constructed text
@@ -438,7 +438,7 @@ public:
     /// The primary purpose of this function is to provide a consistent way
     /// to identify requests for logging purposes.
     ///
-    /// @return a string with the the request's request ID (currently DHCID)
+    /// @return a string with the request's request ID (currently DHCID)
     std::string getRequestId() const;
 
     /// @brief Fetches the NameChangeRequest status of the transaction.
index 2af2b3021d87a1df556a92b338e2c64f40e44066..0cbf1dfe0398c5347870e0deac13dedebcf07688 100644 (file)
@@ -382,7 +382,7 @@ TEST_F(D2ProcessTest, badConfigureRecovery) {
     checkQueueStatus();
 
     // Verify that queue manager  failed to start, (i.e. is in INITTED state),
-    // and the the reconfigure flag is false.
+    // and the reconfigure flag is false.
     ASSERT_EQ(D2QueueMgr::INITTED, queue_mgr->getMgrState());
     ASSERT_FALSE(getReconfQueueFlag());
 
index 129e18211164dceb762d5e8f33d3c374b6607e6c..f134827541045c4db96363703b138bbb2a5b5641 100644 (file)
@@ -695,7 +695,7 @@ protected:
     ///
     /// - If there is a Client FQDN but no reserved hostname then both the
     /// FQDN and lease hostname will be equal to the name provided in the
-    /// client FQDN adjusted according the the DhcpDdns configuration
+    /// client FQDN adjusted according the DhcpDdns configuration
     /// parameters (e.g.replace-client-name, qualifying suffix...).
     ///
     /// All the logic required to form appropriate answer to the client is
index a9db76e823111f42261240e248399eabb3f6d5f6..be3895ac0c3571d4338b6defdaa46b6c73f5a7a1 100644 (file)
@@ -2487,7 +2487,7 @@ TEST_F(Dhcp6ParserTest, pdPoolList) {
     }
 }
 
-// Goal of this test is to verify the a whole prefix can be delegated and that
+// Goal of this test is to verify that a whole prefix can be delegated and that
 // a whole subnet can be delegated.
 TEST_F(Dhcp6ParserTest, subnetAndPrefixDelegated) {
 
index 3eb17ee3d7d72f804dc5ea33abdd99f61f5a871b..8d64e3a6c3922ee3ded0826db64315ac637321ad 100644 (file)
@@ -3058,7 +3058,7 @@ TEST_F(HooksDhcpv6SrvTest, leaseUpdateLease6Renew) {
     ASSERT_NE(override_preferred_, subnet_->getPreferred());
     EXPECT_NE(override_valid_,     subnet_->getValid());
 
-    // Check that preferred, valid were overridden the the callout
+    // Check that preferred, valid were overridden the callout
     EXPECT_EQ(override_preferred_, l->preferred_lft_);
     EXPECT_EQ(override_valid_, l->valid_lft_);
 
index 79ea532f5cb799ec08cf935f976e225311977175..1c122d12ade34fecb9b1f3df7b0f53d216af31d8 100644 (file)
@@ -118,9 +118,9 @@ public:
     /// @param backup Flag to set this server as backup server.
     ConstElementPtr createValidJsonConfiguration(bool backup = false) const;
 
-    /// @brief Run parters.
+    /// @brief Run partners.
     ///
-    /// Simulate parters by accepting connections. The HA will send
+    /// Simulate partners by accepting connections. The HA will send
     /// lease updates and waits for answers so will own the query.
     void runPartners();
 
index a2e62945da72227a5e7663e6035e210641bad8b2..5d798a2148cae77a0bf14ff12ee46c42ded0f1fd 100644 (file)
@@ -147,7 +147,7 @@ public:
     }
 };
 
-// Verifies permuations of HA+MT configuration and start-up.
+// Verifies permutations of HA+MT configuration and start-up.
 TEST_F(HAMtServiceTest, multiThreadingStartup) {
 
     // Structure describing a test scenario.
@@ -269,7 +269,7 @@ TEST_F(HAMtServiceTest, multiThreadingStartup) {
         HAConfigParser parser;
         ASSERT_NO_THROW_LOG(parser.parse(ha_config, config_json));
 
-        // Instanatiate the service.
+        // Instantiate the service.
         TestHAServicePtr service;
         ASSERT_NO_THROW_LOG(service.reset(new TestHAService(io_service_, network_state_,
                                                             ha_config)));
@@ -305,7 +305,7 @@ TEST_F(HAMtServiceTest, multiThreadingStartup) {
             continue;
         }
 
-        // We sould have a listening listener with the expected number of threads.
+        // We should have a listening listener with the expected number of threads.
         ASSERT_TRUE(service->listener_);
         EXPECT_TRUE(service->listener_->isListening());
         EXPECT_EQ(service->listener_->getThreadPoolSize(), scenario.exp_listener_threads_);
index 00d86cdda5efebbe4f2007b57dfba800a5e452bd..99588dd8cf75fd78fb887d921d9d7e9c8911fe0d 100644 (file)
@@ -4651,7 +4651,7 @@ TEST_F(HAServiceTest, processHAResetWaiting) {
 ///
 /// This is a wrapper class around @c HttpListener which simulates a
 /// partner server. It provides convenient methods to start, stop the
-/// parter (its listener) and to transition the partner between various
+/// partner (its listener) and to transition the partner between various
 /// HA states. Depending on the state and whether the partner is started
 /// or stopped, different answers are returned in response to the
 /// ha-heartbeat commands.
index 24e6cdfb5d2c44e5f6842db7e5aad3d0ab7b7ad2..f353df1e30db74a82b60d26a28e76a4537a2347c 100644 (file)
@@ -312,7 +312,7 @@ TEST_F(IntervalTimerTest, intervalModeTest) {
 
     // As long as service runs at least one event handler, loop until
     // we've hit our goals.  It won't return zero unless is out of
-    // work or the the service has been stopped by the test timer.
+    // work or the service has been stopped by the test timer.
     int cnt = 0;
     while (((cnt = io_service_.get_io_service().run_one()) > 0)
            && (repeater_count < 5)) {
@@ -362,7 +362,7 @@ TEST_F(IntervalTimerTest, timerReuseTest) {
 
     // As long as service runs at least one event handler, loop until
     // we've hit our goals.  It won't return zero unless is out of
-    // work or the the service has been stopped by the test timer.
+    // work or the service has been stopped by the test timer.
     int cnt = 0;
     while ((cnt = io_service_.get_io_service().run_one())
             && (one_shot_count < 4)) {
index f4321ac486b96fb8c80a8c38701ff5762f1fbda6..19ec911919ace5012c75ea2ed1d3ccfd2176fa3c 100644 (file)
@@ -60,7 +60,7 @@ public:
     ///
     /// @return Reference to the internal map of keyword/value pairs
     ///         representing database access information.  This is valid only
-    ///         for so long as the the parser remains in existence.
+    ///         for so long as the parser remains in existence.
     const DatabaseConnection::ParameterMap& getDbAccessParameters() const {
         return (values_);
     }
index 00b39b7790e2e4c1b167f7fbbb09431b5b2c3a34..8683ae4f22ec821219d32a69b3288a33b927a244 100644 (file)
@@ -70,7 +70,7 @@ public:
     /// the received message and will be the first one to process
     /// server's response). RELAY_GET_FIRST will try to get option from
     /// the first relay only (closest to the client), RELAY_GET_LAST will
-    /// try to get option form the the last relay (closest to the server).
+    /// try to get option form the last relay (closest to the server).
     enum RelaySearchOrder {
         RELAY_SEARCH_FROM_CLIENT = 1,
         RELAY_SEARCH_FROM_SERVER = 2,
index e43fb2b13cdf4e58fa83974c592d90b4f701f7aa..f48de3ba0542488b977d1caed835238b40e3f094 100644 (file)
@@ -352,7 +352,7 @@ TEST_F(OptionDataTypesTest, writeBool) {
     ASSERT_EQ(2, buf.size());
     // Check that the first value has not changed.
     EXPECT_EQ(buf[0], 1);
-    // Check the the second value is correct.
+    // Check the second value is correct.
     EXPECT_EQ(buf[1], 0);
 }
 
index 6b27787c9595121e4d0656edccd955ceb59b2df1..e3a708fb3f93430c31e69be7995f222cc57d8d96 100644 (file)
@@ -332,12 +332,12 @@ public:
     /// - change-type - indicates whether this request is to add or update
     ///   DNS entries or to remove them.  The value is an integer and is
     ///   0 for add/update and 1 for remove.
-    /// - forward-change - indicates whether the the forward (name to
+    /// - forward-change - indicates whether the forward (name to
     ///   address) DNS zone should be updated.  The value is a string
     ///   representing a boolean.  It is "true" if the zone should be updated
     ///   and "false" if not. (Unlike the keyword, the boolean value is
     ///   case-insensitive.)
-    /// - reverse-change - indicates whether the the reverse (address to
+    /// - reverse-change - indicates whether the reverse (address to
     ///   name) DNS zone should be updated.  The value is a string
     ///   representing a boolean.  It is "true" if the zone should be updated
     ///   and "false" if not. (Unlike the keyword, the boolean value is
@@ -591,7 +591,7 @@ public:
     /// primary purpose of this function is to provide a consistent way to identify
     /// requests for logging purposes.
     ///
-    /// @return a string with the the request's request ID (currently DHCID)
+    /// @return a string with the request's request ID (currently DHCID)
     std::string getRequestId() const {
         return (dhcid_.toStr());
     }
index 8293fd77e04b1fa1a2e52f5b4861f9bcebfcb32a..56ffabdc1720988b8de327dd45567816ff9261fd 100644 (file)
@@ -86,7 +86,7 @@ NameChangeUDPListener::~NameChangeUDPListener() {
 
 void
 NameChangeUDPListener::open(isc::asiolink::IOService& io_service) {
-    // create our endpoint and bind the the low level socket to it.
+    // create our endpoint and bind the low level socket to it.
     isc::asiolink::UDPEndpoint endpoint(ip_address_, port_);
 
     // Create the low level socket.
@@ -220,7 +220,7 @@ NameChangeUDPSender::~NameChangeUDPSender() {
 
 void
 NameChangeUDPSender::open(isc::asiolink::IOService& io_service) {
-    // create our endpoint and bind the the low level socket to it.
+    // create our endpoint and bind the low level socket to it.
     isc::asiolink::UDPEndpoint endpoint(ip_address_, port_);
 
     // Create the low level socket.
index 1e49cdbce96c90a0b7b022118f12e9bc7707a720..73d256ae53118acaf61f9626e6f14502f32dad5a 100644 (file)
@@ -428,7 +428,7 @@ public:
     /// @brief Re-create the option in each descriptor based on given definitions
     ///
     /// Invokes @c createDescriptorOption() on each option descriptor in
-    /// each option space, passing in the the given dictionary of option
+    /// each option space, passing in the given dictionary of option
     /// definitions.  If the descriptor's option is re-created, then the
     /// descriptor is updated by calling @c replace().
     ///
index 3df223cff91b7803b6ccf433a73a035d861f8a12..ba040773a37fa3c17b4e88af0b00ba1b74a0253a 100644 (file)
@@ -54,7 +54,7 @@ typedef boost::shared_ptr<OptionStorage> OptionStoragePtr;
 template<typename ValueType>
 class ValueStorage {
 public:
-    /// @brief  Stores the the parameter, its value and the position in the
+    /// @brief  Stores the parameter, its value and the position in the
     /// store.
     ///
     /// If the parameter does not exist in the store, then it will be added,
index c2f7053a12779e7dd0fe4679a80da0a986e654b0..598c303b3b6be6575f0acd64ac69600d43f6ca2a 100644 (file)
@@ -1084,7 +1084,7 @@ TEST_F(SharedNetworkAlloc4Test, discoverSharedNetworkSimple) {
     ASSERT_TRUE(lease);
     EXPECT_EQ("192.0.2.17", lease->addr_.toText());
 
-    // Make sure the lease is not in the the lease mgr (this is only
+    // Make sure the lease is not in the lease mgr (this is only
     // discover).
     ASSERT_FALSE(LeaseMgrFactory::instance().getLease4(lease->addr_));
 }
@@ -1389,7 +1389,7 @@ TEST_F(SharedNetworkAlloc4Test, requestSharedNetworkSimple) {
     ASSERT_TRUE(lease);
     EXPECT_EQ("192.0.2.17", lease->addr_.toText());
 
-    // Make sure the lease is in the the lease mgr.
+    // Make sure the lease is in the lease mgr.
     ASSERT_TRUE(LeaseMgrFactory::instance().getLease4(lease->addr_));
 }
 
index 7af2930ec3283ef5a7ffb802edfe20c613970eed..5461b2bf95b202de7bd6764626096a949c4645df 100644 (file)
@@ -395,7 +395,7 @@ public:
 
     /// \brief Add an RDATA to the RRset (string version).
     ///
-    /// This method constructs an Rdata object from the the given
+    /// This method constructs an Rdata object from the given
     /// \c rdata_str in presentation format and adds it to the \c RRset.
     ///
     /// \param rdata_str RDATA string in presentation format.
index 0baddee27a445e52f48d297b98d9e8ba20c04edb..3ee1efd1f216452419a3891ebc171c0d7a8c63c3 100644 (file)
@@ -170,7 +170,7 @@ public:
 
     /// @brief De-Register a callout on a hook for the current library
     ///
-    /// Searches through the functions registered by the the current library
+    /// Searches through the functions registered by the current library
     /// with the named hook and removes all entries matching the
     /// callout.
     ///
index 374e7dcac5e232b7579858934485beb15d348363..d736657b6f5ad07a5731755d1bcf3e6613d126ba 100644 (file)
@@ -37,8 +37,8 @@ namespace hooks {
 /// particular hook point only have access to the parking lots dedicated to
 /// them.
 ///
-/// The parking lot object supports 5 actions: "park", "reference", "derefence",
-/// "unpark", and "drop".
+/// The parking lot object supports 5 actions: "park", "reference",
+/// "dereference", "unpark", and "drop".
 ///
 /// In the typical case, the server parks the object and the callouts reference
 /// and unpark the objects. Therefore, the @ref ParkingLot object is not passed
@@ -47,7 +47,7 @@ namespace hooks {
 /// and "unpark" operations.
 ///
 /// Parking an object is performed, proactively by the server, before callouts
-/// are invoked.  Referencing (and derefencing) an object is performed by the
+/// are invoked.  Referencing (and dereferencing) an object is performed by the
 /// callouts before the @c CalloutHandle::NEXT_STEP_PARK is returned to the
 /// server.
 ///
index c5149bd3455425b21f77d1edd37cb0cfb8931803..783ec32f45e5a687d6e9ca9bff10655b01351ab0 100644 (file)
@@ -21,7 +21,7 @@
 /// higher-level hooks classes (LibraryManager, LibraryManagerCollection and
 /// HooksManager).  It
 ///
-/// - sets the the ServerHooks object with three hooks and stores their
+/// - sets the ServerHooks object with three hooks and stores their
 ///   indexes.
 /// - executes the callouts (which are assumed to perform a calculation)
 ///   and checks the results.
index d90cf03c4ee1c7c6310a6c85c4326af1b11e0e57..389abd6597dce9bc82cd35c6b1887f741bf975d6 100644 (file)
@@ -39,7 +39,7 @@ second argument provides a response in the textual format. The request is
 truncated by the logger if it is too large to be printed.
 
 % HTTP_CLIENT_MT_STARTED HttpClient has been started in multi-threaded mode running %1 threads
-This debug message is issued when a multit-threaded HTTP client instance has
+This debug message is issued when a multi-threaded HTTP client instance has
 been created.  The argument specifies the maximum number of threads.
 
 % HTTP_CLIENT_REQUEST_AUTHORIZED received HTTP request authorized for '%1'
index 056a7e452879e357650d14ed9b5ef8a2cb07011f..8dbc02f6cba36dbc0db80e97acc0329b62cdc544 100644 (file)
@@ -55,7 +55,7 @@ a new zone has been created, etc.</dd>
 <dt>DEBUG</dt>
 <dd>Debug messages are output at this severity.  Each message also
 has a debug level associated with it, ranging from 0 (the default)
-for high-level messages and level 99 (the maximum) for the the lowest
+for high-level messages and level 99 (the maximum) for the lowest
 level.</dd>
 </dl>
 
index 2005f7ab9c9f45dd630813b906df8c4b332afd63..19eda67a89fd704a04bb5af05c77e0a763443817 100644 (file)
@@ -55,7 +55,7 @@ std::string trim(const std::string& instring);
 
 /// \brief Finds the "trimmed" end of a buffer
 ///
-/// Works backward from the the end of the buffer, looking for the first
+/// Works backward from the end of the buffer, looking for the first
 /// character not equal to the trim value, and returns an iterator
 /// pointing that that position.
 ///
index 234ae1ea711063626b735b5fb9028001060689d4..fbc75c961b2aeef54a68d4c801e21382a63ddd33 100644 (file)
@@ -370,7 +370,7 @@ TEST_F(CSVFileTest, openReadAllWrite) {
     ASSERT_NO_THROW(csv->flush());
     csv->close();
 
-    // Check the the file contents are correct.
+    // Check the file contents are correct.
     EXPECT_EQ("animal,age,color\n"
               "cat,10,white\n"
               "lion,15,yellow\n"
index 293c96bc2bb6834365dc413867b6d808ff23850c..ec443a9fd5997834239935710b693264d9970167 100644 (file)
@@ -293,7 +293,7 @@ TEST_F(VersionedCSVFileTest, upgradeOlderVersions) {
     ASSERT_NO_THROW(csv->close());
 
 
-    // Check the the file contents are correct.
+    // Check the file contents are correct.
     EXPECT_EQ("animal\n"
               "cat\n"
               "lion\n"
index b886198d6cac253609847e05daec0d84f6b956ec..065636a1cdb7a7d9092205153979733f61fb02f3 100644 (file)
@@ -163,7 +163,7 @@ VersionedCSVFile::next(CSVRow& row) {
         case NEEDS_DOWNGRADE:
             // The input header exceeded current schema so:
             // Rows may be as long as input header but not shorter than
-            // the the current schema
+            // the current schema
             if (row.getValuesCount() < getColumnCount()) {
                 columnCountError(row, "too few columns to downgrade");
             } else if (row.getValuesCount() > getInputHeaderCount()) {
index dde34fab55eebbde59fcffeebcbab9ce44af4b14..d354af18a62b4e0f1edb0ad0a1c9a1071874db4a 100644 (file)
@@ -56,7 +56,7 @@ public:
 
     /// @brief Move parameters from pools to the subnet.
     ///
-    /// Move parameters from pool to its partent subnet. Currently the only
+    /// Move parameters from pool to its parent subnet. Currently the only
     /// supported model is ietf-dhcpv6-server. The parameters moved are
     /// valid-lifetime, preferred-lifetime, renew-timer, rebind-timer.
     ///