From: Marcin Siodelski Date: Mon, 26 Sep 2016 14:47:00 +0000 (+0200) Subject: [github24] Removed spurious whitespace. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae4803f3b63656532dd033581f775f7628babda9;p=thirdparty%2Fkea.git [github24] Removed spurious whitespace. --- diff --git a/src/lib/dhcp/option6_pdexclude.cc b/src/lib/dhcp/option6_pdexclude.cc index 734205d140..4f64bf511e 100644 --- a/src/lib/dhcp/option6_pdexclude.cc +++ b/src/lib/dhcp/option6_pdexclude.cc @@ -170,7 +170,7 @@ Option6PDExclude::unpack(OptionBufferConstIter begin, std::vector delegated_prefix_bytes = delegated_prefix_.toBytes(); // We need to calculate how many bytes include the useful data and assign // zeros to remaining bytes (beyond the prefix length). - const uint8_t bytes_length = (delegated_prefix_length_ / 8) + + const uint8_t bytes_length = (delegated_prefix_length_ / 8) + static_cast(delegated_prefix_length_ % 8 != 0); std::fill(delegated_prefix_bytes.begin() + bytes_length, delegated_prefix_bytes.end(), 0);