BIND 10 trac3149, updated. f8bbd7fa7def41d09c458282aadbbd2ca352f3a6 [3149] Minor changes after review (spaces, comments clean ups)
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Sep 19 09:21:04 UTC 2013
The branch, trac3149 has been updated
via f8bbd7fa7def41d09c458282aadbbd2ca352f3a6 (commit)
from d7d74b349336faa877191ed4cc9f157858325596 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f8bbd7fa7def41d09c458282aadbbd2ca352f3a6
Author: Tomek Mrugalski <tomasz at isc.org>
Date: Thu Sep 19 11:20:50 2013 +0200
[3149] Minor changes after review (spaces, comments clean ups)
-----------------------------------------------------------------------
Summary of changes:
src/lib/dhcpsrv/alloc_engine.cc | 3 ++-
src/lib/dhcpsrv/pool.h | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dhcpsrv/alloc_engine.cc b/src/lib/dhcpsrv/alloc_engine.cc
index c8197a7..2f41a85 100644
--- a/src/lib/dhcpsrv/alloc_engine.cc
+++ b/src/lib/dhcpsrv/alloc_engine.cc
@@ -177,7 +177,8 @@ AllocEngine::AllocEngine(AllocType engine_type, unsigned int attempts,
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) {
diff --git a/src/lib/dhcpsrv/pool.h b/src/lib/dhcpsrv/pool.h
index 54b2e51..0d73b40 100644
--- a/src/lib/dhcpsrv/pool.h
+++ b/src/lib/dhcpsrv/pool.h
@@ -82,7 +82,7 @@ protected:
/// 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,
@@ -113,7 +113,7 @@ protected:
/// @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_;
};
More information about the bind10-changes
mailing list