]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5457] spelling
authorFrancis Dupont <fdupont@isc.org>
Mon, 29 Jan 2018 18:46:22 +0000 (19:46 +0100)
committerFrancis Dupont <fdupont@isc.org>
Mon, 29 Jan 2018 18:46:22 +0000 (19:46 +0100)
src/bin/dhcp4/tests/hooks_unittest.cc

index 48d231b8d8aeedb9146060cebf0500387657ec7a..2bf7428e4e261478aadd06cbb9a574dc1f58e201 100644 (file)
@@ -134,7 +134,7 @@ public:
     /// @brief creates an option with specified option code
     ///
     /// This method is static, because it is used from callouts
-    /// that do not have a pointer to HooksDhcpv4SSrvTest object
+    /// that do not have a pointer to HooksDhcpv4SrvTest object
     ///
     /// @param option_code code of option to be created
     ///
@@ -235,7 +235,7 @@ public:
 
         // If there is at least one option with data
         if (pkt->data_.size() >= Pkt4::DHCPV4_PKT_HDR_LEN) {
-            // Offset of the first byte of the CHWADDR field. Let's the first
+            // Offset of the first byte of the CHADDR field. Let's the first
             // byte to some new value that we could later check
             pkt->data_[28] = 0xff;
         }
@@ -1949,7 +1949,7 @@ TEST_F(HooksDhcpv4SrvTest, leases4CommittedParkRequests) {
     client1.setIfaceName("eth1");
     ASSERT_NO_THROW(client1.doDORA(boost::shared_ptr<IOAddress>(new IOAddress("192.0.2.100"))));
 
-    // We should be offerred an address but the DHCPACK should not arrive
+    // We should be offered an address but the DHCPACK should not arrive
     // at this point, because the packet is parked.
     ASSERT_FALSE(client1.getContext().response_);
 
@@ -1991,7 +1991,7 @@ TEST_F(HooksDhcpv4SrvTest, leases4CommittedParkRequests) {
     // Check that the callback called is indeed the one we installed.
     EXPECT_EQ("leases4_committed", callback_name_);
 
-    // There should be now two actions schedulede on our IO service
+    // There should be now two actions scheduled on our IO service
     // by the invoked callouts. They unpark both DHCPACK messages.
     ASSERT_NO_THROW(io_service_->poll());
 
@@ -2639,7 +2639,7 @@ TEST_F(LoadUnloadDhcpv4SrvTest, unloadLibraries) {
 }
 
 // Checks if callouts installed on the dhcp4_srv_configured ared indeed called
-// and all the necessary parameters are pased.
+// and all the necessary parameters are passed.
 TEST_F(LoadUnloadDhcpv4SrvTest, Dhcpv4SrvConfigured) {
     boost::shared_ptr<ControlledDhcpv4Srv> srv(new ControlledDhcpv4Srv(0));