From: Marcin Siodelski Date: Wed, 4 Jan 2023 14:39:58 +0000 (+0100) Subject: [#969] Remove whitespaces X-Git-Tag: Kea-2.3.4~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d203a365ffad134ee9e5183e97f2cf9bdcfcda8;p=thirdparty%2Fkea.git [#969] Remove whitespaces --- diff --git a/src/lib/dhcpsrv/tests/random_allocation_state_unittest.cc b/src/lib/dhcpsrv/tests/random_allocation_state_unittest.cc index 17f4ad96d8..4dbadf5ec6 100644 --- a/src/lib/dhcpsrv/tests/random_allocation_state_unittest.cc +++ b/src/lib/dhcpsrv/tests/random_allocation_state_unittest.cc @@ -79,7 +79,7 @@ TEST(PoolRandomAllocationStateTest, ipv6AddressPool) { // Test creating the random allocation state for an IPv6 prefix pool. TEST(PoolRandomAllocationStateTest, ipv6PrefixPool) { - // Create the pool and state. + // Create the pool and state. auto pool = boost::make_shared(Lease::TYPE_PD, IOAddress("2001:db8::"), 64, 96); auto state = PoolRandomAllocationState::create(pool); ASSERT_TRUE(state); diff --git a/src/lib/dhcpsrv/tests/random_allocator_unittest.cc b/src/lib/dhcpsrv/tests/random_allocator_unittest.cc index 0a71feba84..bd3811569b 100644 --- a/src/lib/dhcpsrv/tests/random_allocator_unittest.cc +++ b/src/lib/dhcpsrv/tests/random_allocator_unittest.cc @@ -236,7 +236,6 @@ TEST_F(RandomAllocatorTest6, manyPools) { // be 0 or close to 0. int consecutives = 0; for (auto k = 0; k < addresses_vector.size()-1; ++k) { - if (IOAddress::increase(addresses_vector[k]) == addresses_vector[k+1]) { ++consecutives; }