Parcourir la source

spelling: lease

Josh Soref il y a 7 ans
Parent
commit
b9b76bd7e6

+ 1 - 1
src/bin/dhcp4/tests/fqdn_unittest.cc

@@ -1459,7 +1459,7 @@ TEST_F(NameDhcpv4SrvTest, hostnameReservationNoDNSQualifyingSuffix) {
 // Test verifies that the server properly generates a FQDN when the client
 // FQDN name is blank, whether or not DDNS updates are enabled.  It also
 // verifies that the lease is only in the database following a DHCPREQUEST and
-// that the lesae contains the generated FQDN.
+// that the lease contains the generated FQDN.
 TEST_F(NameDhcpv4SrvTest, emptyFqdn) {
     Dhcp4Client client(Dhcp4Client::SELECTING);
     isc::asiolink::IOAddress expected_address("10.0.0.10");

+ 1 - 1
src/bin/lfc/lfc_controller.h

@@ -99,7 +99,7 @@ public:
     /// @name Accessor methods mainly used for testing purposes
     //@{
 
-    /// @brief Gets the protocol version of the leaes files
+    /// @brief Gets the protocol version of the leases files
     ///
     /// @return Returns the value of the DHCP protocol version.
     /// This can be 4 or 6 while in use and 0 before parsing

+ 1 - 1
src/bin/lfc/tests/lfc_controller_unittests.cc

@@ -485,7 +485,7 @@ TEST_F(LFCControllerTest, launch4) {
     // Run the cleanup
     launch(lfc_controller, argc, argv);
 
-    // Compare the results, we expect a header and no leaes.
+    // Compare the results, we expect a header and no leases.
     // We also verify none of the temp or pid files remain.
     test_str = v4_hdr_;
     EXPECT_EQ(readFile(xstr_), test_str);

+ 3 - 3
src/lib/dhcpsrv/tests/alloc_engine_expiration_unittest.cc

@@ -654,7 +654,7 @@ public:
     /// of reclaimed leases.
     void testReclaimExpiredLeasesLimit() {
         for (unsigned int i = 0; i < TEST_LEASES_NUM; ++i) {
-            // Mark all leaes as expired. The higher the index the less
+            // Mark all leases as expired. The higher the index the less
             // expired the lease.
             expire(i, 1000 - i);
         }
@@ -1349,7 +1349,7 @@ ExpirationAllocEngine6Test::testReclaimExpiredLeasesStats() {
     BOOST_STATIC_ASSERT(TEST_LEASES_NUM % 2 == 0);
 
     for (unsigned int i = 0; i < TEST_LEASES_NUM; ++i) {
-        // Mark all leaes as expired. The higher the index the less
+        // Mark all leases as expired. The higher the index the less
         // expired the lease.
         expire(i, 1000 - i);
         // Modify subnet ids and lease types for some leases.
@@ -2001,7 +2001,7 @@ ExpirationAllocEngine4Test::testReclaimExpiredLeasesStats() {
     BOOST_STATIC_ASSERT(TEST_LEASES_NUM % 2 == 0);
 
     for (unsigned int i = 0; i < TEST_LEASES_NUM; ++i) {
-        // Mark all leaes as expired. The higher the index the less
+        // Mark all leases as expired. The higher the index the less
         // expired the lease.
         expire(i, 1000 - i);
         // Modify subnet ids of some leases.