Commit 67dbce13 authored by Josh Soref's avatar Josh Soref
Browse files

spelling: address

parent 68257056
......@@ -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);
......
......@@ -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<uint8_t> mac = tc.generateMacAddress(randomized);
ASSERT_EQ(6, mac.size());
// Make sure that the generated MAC address belongs to the MAC addresses
......
......@@ -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<uint16_t>(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<uint16_t>(HTYPE_ETHER));
......
......@@ -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.
......
......@@ -509,7 +509,7 @@ private:
/// @c Host object.
template<typename ReturnType, typename Storage>
ReturnType getHostInternal6(const SubnetID& subnet_id,
const asiolink::IOAddress& adddress) const;
const asiolink::IOAddress& address) const;
template<typename ReturnType>
ReturnType getHostInternal6(const asiolink::IOAddress& prefix,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment