From: Josh Soref Date: Sun, 23 Jul 2017 15:15:06 +0000 (-0400) Subject: spelling: address X-Git-Tag: trac5124a_base~35^2~215 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=67dbce1310577c3a5d276e1fbc79ccbb1bf046ee;p=thirdparty%2Fkea.git spelling: address --- diff --git a/src/bin/dhcp4/tests/config_parser_unittest.cc b/src/bin/dhcp4/tests/config_parser_unittest.cc index 7097fd055a..00cf122ef9 100644 --- a/src/bin/dhcp4/tests/config_parser_unittest.cc +++ b/src/bin/dhcp4/tests/config_parser_unittest.cc @@ -1112,7 +1112,7 @@ TEST_F(Dhcp4ParserTest, nextServerSubnet) { } // Test checks several negative scenarios for next-server configuration: bogus -// address, IPv6 adddress and empty string. +// address, IPv6 address and empty string. TEST_F(Dhcp4ParserTest, nextServerNegative) { IfaceMgrTestConfig test_config(true); diff --git a/src/bin/perfdhcp/tests/test_control_unittest.cc b/src/bin/perfdhcp/tests/test_control_unittest.cc index f067e202c3..ef63f9d3e2 100644 --- a/src/bin/perfdhcp/tests/test_control_unittest.cc +++ b/src/bin/perfdhcp/tests/test_control_unittest.cc @@ -1180,7 +1180,7 @@ TEST_F(TestControlTest, GenerateMacAddress) { // Initialize Test Controller. NakedTestControl tc; uint8_t randomized = 0; - // Generate MAC adddress and sanity check its size. + // Generate MAC address and sanity check its size. std::vector mac = tc.generateMacAddress(randomized); ASSERT_EQ(6, mac.size()); // Make sure that the generated MAC address belongs to the MAC addresses diff --git a/src/lib/dhcp/duid_factory.cc b/src/lib/dhcp/duid_factory.cc index c0142bd411..c19fcd4462 100644 --- a/src/lib/dhcp/duid_factory.cc +++ b/src/lib/dhcp/duid_factory.cc @@ -96,7 +96,7 @@ DUIDFactory::createLLT(const uint16_t htype, const uint32_t time_in, } } else if (htype_out == 0) { - // If link layer type unspecified and link layer adddress + // If link layer type unspecified and link layer address // is specified, use current type or HTYPE_ETHER. htype_out = ((htype_current != 0) ? htype_current : static_cast(HTYPE_ETHER)); @@ -221,7 +221,7 @@ DUIDFactory::createLL(const uint16_t htype, } } else if (htype_out == 0) { - // If link layer type unspecified and link layer adddress + // If link layer type unspecified and link layer address // is specified, use current type or HTYPE_ETHER. htype_out = ((htype_current != 0) ? htype_current : static_cast(HTYPE_ETHER)); diff --git a/src/lib/dhcp/tests/iface_mgr_unittest.cc b/src/lib/dhcp/tests/iface_mgr_unittest.cc index c9f84f97e1..816ceba8e8 100644 --- a/src/lib/dhcp/tests/iface_mgr_unittest.cc +++ b/src/lib/dhcp/tests/iface_mgr_unittest.cc @@ -281,7 +281,7 @@ public: } /// @brief Checks if the specified interface has a socket bound to a - /// specified adddress. + /// specified address. /// /// @param iface_name A name of the interface. /// @param addr An address to be checked for binding. diff --git a/src/lib/dhcpsrv/cfg_hosts.h b/src/lib/dhcpsrv/cfg_hosts.h index 21e0784a7e..0717e9a174 100644 --- a/src/lib/dhcpsrv/cfg_hosts.h +++ b/src/lib/dhcpsrv/cfg_hosts.h @@ -509,7 +509,7 @@ private: /// @c Host object. template ReturnType getHostInternal6(const SubnetID& subnet_id, - const asiolink::IOAddress& adddress) const; + const asiolink::IOAddress& address) const; template ReturnType getHostInternal6(const asiolink::IOAddress& prefix,