From: Razvan Becheriu Date: Thu, 22 Jun 2023 04:28:17 +0000 (+0300) Subject: [#2380] reverted some changes X-Git-Tag: Kea-2.4.0~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96bf4b20da6f0196c6be8f6e23a24a996e0ec6cc;p=thirdparty%2Fkea.git [#2380] reverted some changes --- diff --git a/src/lib/dhcpsrv/ip_range_permutation.h b/src/lib/dhcpsrv/ip_range_permutation.h index cb4c0bdc72..ca7a5aea2c 100644 --- a/src/lib/dhcpsrv/ip_range_permutation.h +++ b/src/lib/dhcpsrv/ip_range_permutation.h @@ -13,7 +13,7 @@ #include -#include +#include #include namespace isc { @@ -129,13 +129,13 @@ private: /// Keeps the current permutation state. The state associates the /// swapped IP addresses or delegated prefixes with their positions in /// the permutation. - std::unordered_map state_; + std::map state_; /// Indicates if the addresses or delegated prefixes are exhausted. bool done_; /// Random generator. - std::mt19937_64 generator_; + std::mt19937 generator_; }; /// @brief Pointer to the @c IPRangePermutation.