]> git.ipfire.org Git - thirdparty/kea.git/commit
[#2860] Fix in delegated prefix permutation
authorMarcin Siodelski <marcin@isc.org>
Tue, 16 May 2023 15:37:21 +0000 (17:37 +0200)
committerMarcin Siodelski <marcin@isc.org>
Wed, 24 May 2023 11:31:27 +0000 (13:31 +0200)
commit990298b23cd353740645b7d87fba8ebe90d65ab0
treecb6574d34bd61874cd5f0cef95f9163d7ca431d2
parent6dcc31315064d563877b232fa6572bdfd5d5eb18
[#2860] Fix in delegated prefix permutation

The random device wasn't properly initialized for the prefix permuations.
As a result, the same set of prefixes have been handed out by the random
and FLQ allocators. This issue has been addressed and the proper unit tests
have been added.
src/lib/dhcpsrv/ip_range_permutation.cc
src/lib/dhcpsrv/tests/ip_range_permutation_unittest.cc