]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2868] Fixed spelling
authorThomas Markwalder <tmark@isc.org>
Thu, 25 May 2023 11:12:44 +0000 (07:12 -0400)
committerFrancis Dupont <fdupont@isc.org>
Thu, 25 May 2023 21:03:53 +0000 (23:03 +0200)
src/lib/dhcpsrv/mysql_lease_mgr.cc
src/lib/dhcpsrv/pgsql_lease_mgr.cc

index 1f6c56159a51760bd37ea2a603534135f7d3b396..1e5cede00a8080b20d5798f45f197006ba225796 100644 (file)
@@ -1400,7 +1400,7 @@ public:
             // binaddr: binary(16)
             binaddr_ = lease->addr_.toBytes();
             if (binaddr_.size() != 16) {
-                isc_throw(DbOperationError, "lease6 address is not 16 byte long");
+                isc_throw(DbOperationError, "lease6 address is not 16 bytes long");
             }
 
             binaddr_length_ = 16;
@@ -4091,7 +4091,7 @@ MySqlLeaseMgr::getLeases6ByLink(const IOAddress& link_addr,
     // Bind start address
     std::vector<uint8_t> start_addr_data = start_addr.toBytes();
     if (start_addr_data.size() != 16) {
-        isc_throw(DbOperationError, "start address is not 16 byte long");
+        isc_throw(DbOperationError, "start address is not 16 bytes long");
     }
     unsigned long start_addr_size = 16;
     inbind[0].buffer_type = MYSQL_TYPE_BLOB;
@@ -4102,7 +4102,7 @@ MySqlLeaseMgr::getLeases6ByLink(const IOAddress& link_addr,
     // Bind last address
     std::vector<uint8_t> last_addr_data = last_addr.toBytes();
     if (last_addr_data.size() != 16) {
-        isc_throw(DbOperationError, "last address is not 16 byte long");
+        isc_throw(DbOperationError, "last address is not 16 bytes long");
     }
     unsigned long last_addr_size = 16;
     inbind[1].buffer_type = MYSQL_TYPE_BLOB;
index 06584b2d994b7d0a83678a2743af649fb7369403..6462e96377b831544ad0b3b2a940974e48183c41 100644 (file)
@@ -3221,14 +3221,14 @@ PgSqlLeaseMgr::getLeases6ByLink(const IOAddress& link_addr,
     // Bind start address
     std::vector<uint8_t> start_addr_data = start_addr.toBytes();
     if (start_addr_data.size() != 16) {
-        isc_throw(DbOperationError, "start address is not 16 byte long");
+        isc_throw(DbOperationError, "start address is not 16 bytes long");
     }
     bind_array.add(start_addr_data);
 
     // Bind last address
     std::vector<uint8_t> last_addr_data = last_addr.toBytes();
     if (last_addr_data.size() != 16) {
-        isc_throw(DbOperationError, "last address is not 16 byte long");
+        isc_throw(DbOperationError, "last address is not 16 bytes long");
     }
     bind_array.add(last_addr_data);