From: Thomas Markwalder Date: Thu, 25 May 2023 11:12:44 +0000 (-0400) Subject: [#2868] Fixed spelling X-Git-Tag: Kea-2.3.8~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5aa1ecfbd53184d3d568b7eb5d5b8aa8e8780a7d;p=thirdparty%2Fkea.git [#2868] Fixed spelling --- diff --git a/src/lib/dhcpsrv/mysql_lease_mgr.cc b/src/lib/dhcpsrv/mysql_lease_mgr.cc index 1f6c56159a..1e5cede00a 100644 --- a/src/lib/dhcpsrv/mysql_lease_mgr.cc +++ b/src/lib/dhcpsrv/mysql_lease_mgr.cc @@ -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 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 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; diff --git a/src/lib/dhcpsrv/pgsql_lease_mgr.cc b/src/lib/dhcpsrv/pgsql_lease_mgr.cc index 06584b2d99..6462e96377 100644 --- a/src/lib/dhcpsrv/pgsql_lease_mgr.cc +++ b/src/lib/dhcpsrv/pgsql_lease_mgr.cc @@ -3221,14 +3221,14 @@ PgSqlLeaseMgr::getLeases6ByLink(const IOAddress& link_addr, // Bind start address std::vector 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 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);