Commit f8bbd7fa authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[3149] Minor changes after review (spaces, comments clean ups)

parent d7d74b34
...@@ -177,7 +177,8 @@ AllocEngine::AllocEngine(AllocType engine_type, unsigned int attempts, ...@@ -177,7 +177,8 @@ AllocEngine::AllocEngine(AllocType engine_type, unsigned int attempts,
bool ipv6) bool ipv6)
:attempts_(attempts) { :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 // Initalize normal address allocators
switch (engine_type) { switch (engine_type) {
......
...@@ -82,7 +82,7 @@ protected: ...@@ -82,7 +82,7 @@ protected:
/// Pool class directly. Instances of Pool4 and Pool6 should be created /// Pool class directly. Instances of Pool4 and Pool6 should be created
/// instead. /// 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 first first address of a range
/// @param last last address of a range /// @param last last address of a range
Pool(Lease::Type type, Pool(Lease::Type type,
...@@ -113,7 +113,7 @@ protected: ...@@ -113,7 +113,7 @@ protected:
/// @todo: This field is currently not used. /// @todo: This field is currently not used.
std::string comments_; std::string comments_;
/// @brief defines a pool type /// @brief defines a lease type that will be served from this pool
Lease::Type type_; Lease::Type type_;
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment