]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3831] spelling
authorFrancis Dupont <fdupont@isc.org>
Mon, 12 May 2025 14:15:46 +0000 (16:15 +0200)
committerAndrei Pavel <andrei@isc.org>
Fri, 16 May 2025 09:20:43 +0000 (12:20 +0300)
src/bin/dhcp6/dhcp6_messages.mes
src/lib/dhcpsrv/memfile_lease_mgr.cc
src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
src/lib/testutils/env_var_wrapper.h
src/lib/util/filesystem.h
src/lib/util/tests/filesystem_unittests.cc

index d3546be485caef4b5d4494e82e3b2fc3233283d0..5f0231cfb2161539a6633e5e809d4b821d7516f8 100644 (file)
@@ -1158,5 +1158,5 @@ This warning message is emitted when the configuration parsing detects
 that the `data-directory` parameter has been specified.  This parameter
 has been is no longer supported. The first argument is the path specified
 the second argument is the supported path that will be used.  This path
-may be overriddend at runtime by setting the environment variable, 
+may be overridden at runtime by setting the environment variable, 
 'KEA_DHCP_DATA_DIR'
index 9bc45d803424ca915fd85190ea0e87ea23456c70..54c79a1d6c6254b8eff102f19374dabe968aad0f 100644 (file)
@@ -2317,7 +2317,7 @@ Memfile_LeaseMgr::initLeaseFilePath(Universe u) {
     try {
         lease_file = conn_.getParameter("name");
     } catch (const Exception&) {
-        // Not specified, use the defualt.
+        // Not specified, use the default.
         return (getDefaultLeaseFilePath(u));
     }
 
index 0faa336482d8bafb34dd08ea228e9c6948234071..20ce69c29f1c9f1750eeb48aa7c1539dcb9f3a49 100644 (file)
@@ -477,7 +477,7 @@ TEST_F(MemfileLeaseMgrTest, defaultDataDir) {
                      BadValue, os.str());
 }
 
-/// @brief Verifies that the supported path may be overriden witn
+/// @brief Verifies that the supported path may be overridden with
 /// the environment variable KEA_DHCP_DATA_DIR.
 TEST_F(MemfileLeaseMgrTest, dataDirEnvVarOverride) {
     ASSERT_TRUE(data_dir_env_var_.getValue().empty());
@@ -497,7 +497,7 @@ TEST_F(MemfileLeaseMgrTest, dataDirEnvVarOverride) {
               "/tmp/leasefile6_1.csv");
 }
 
-/// @brief Verifies that the supported path may be overriden with
+/// @brief Verifies that the supported path may be overridden with
 /// an explicit path even though its really only for UT testing.
 TEST_F(MemfileLeaseMgrTest, dataDirExplicitOveride) {
     ASSERT_TRUE(data_dir_env_var_.getValue().empty());
index 0f43af385f1bca63096c3176d4ae7d5623e0e76b..80b19178f45ea4b1763f0d8e948152f595c65c77 100644 (file)
@@ -12,7 +12,7 @@
 namespace isc {
 namespace test {
 
-/// @brief Wrapper for environment varible that restores
+/// @brief Wrapper for environment variable that restores
 class EnvVarWrapper {
 public:
     /// @brief Constructor
index 1b4099b67d3ee7b6787fc6debe089a46c19eaaba..ee00b691eb6e1182e837cd49506189cf8fb459fd 100644 (file)
@@ -154,7 +154,7 @@ public:
     ///
     /// Makes a call to getPath(true) to initialize the supported path.
     ///
-    /// @param default_path path to use unless overidden by explicitly or via
+    /// @param default_path path to use unless overridden by explicitly or via
     /// environment variable.
     /// @param env_name name of environment variable (if one), that can override
     /// the default path.
index f700f64c69b29c704cf6efb9039e9fee9470cba7..e9f19e37eac04971df063c1505fb9e19ef13d1ec 100644 (file)
@@ -222,7 +222,7 @@ TEST_F(PathCheckerTest, getPathExplicit) {
     PathChecker checker("/tmp/def_path", env_name_.c_str());
     ASSERT_EQ(checker.getPath(), checker.getDefaultPath());
 
-    // A subsequent call wiht reset=true and an explicit path
+    // A subsequent call with reset=true and an explicit path
     // should return the explicit path.
     ASSERT_EQ(checker.getPath(true, "/tmp/explicit"),
               "/tmp/explicit");