Commit 900b6313 authored by Josh Soref's avatar Josh Soref
Browse files

spelling: division

parent d4d370eb
......@@ -133,7 +133,7 @@ Option6IAPrefix::mask(OptionBuffer::const_iterator begin,
std::copy(begin, begin + static_cast<uint8_t>(len/8), output_address.begin());
// The remaining significant bits of the last octet have to be left unchanged,
// but the remaining bits of this octet must be set to zero. The number of
// significant bits is calculated as a reminder from the devision of the
// significant bits is calculated as a reminder from the division of the
// prefix length by 8 (by size of the octet). The number of bits to be set
// to zero is therefore calculated as: 8 - (len % 8).
// Next, the mask is created by shifting the 0xFF by the number of bits
......
Supports Markdown
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