bool ipv6)
:attempts_(attempts) {
- Lease::Type basic_type = ipv6?Lease::TYPE_NA:Lease::TYPE_V4;
+ // Choose the basic (normal address) lease type
+ Lease::Type basic_type = ipv6 ? Lease::TYPE_NA : Lease::TYPE_V4;
// Initalize normal address allocators
switch (engine_type) {
/// Pool class directly. Instances of Pool4 and Pool6 should be created
/// instead.
///
- /// @param type type of the pool
+ /// @param type type of lease that will be served from this pool
/// @param first first address of a range
/// @param last last address of a range
Pool(Lease::Type type,
/// @todo: This field is currently not used.
std::string comments_;
- /// @brief defines a pool type
+ /// @brief defines a lease type that will be served from this pool
Lease::Type type_;
};