diff options
author | Thomas Markwalder <tmark@isc.org> | 2015-03-18 20:16:09 +0100 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2015-03-18 20:16:09 +0100 |
commit | 3e09b74567d827942a1e81777fce39b9dd7593bb (patch) | |
tree | 0c76140b14216f80559d3f9257b02c0e24f77ea3 /src/lib/dhcpsrv/alloc_engine.h | |
parent | [3689] Fixed outdated documentation for DHCPv6 messages processing functions (diff) | |
download | kea-3e09b74567d827942a1e81777fce39b9dd7593bb.tar.xz kea-3e09b74567d827942a1e81777fce39b9dd7593bb.zip |
[3689] Addressed primary review comments
doc/guide/dhcp6-srv.xml
Updated "Reserving a hostname" section
(also removed trailing spaces)
src/bin/dhcp6/dhcp6_srv.cc
corrected test and commentary typo in assignIA_NA
removed second parameter to renewLeases6() calls
src/bin/dhcp6/dhcp6_srv.h
updated commentary for createContext()
src/lib/dhcpsrv/alloc_engine.cc
src/lib/dhcpsrv/alloc_engine.h
AllocEngine::createLease6()
removed find_host parameter and logic which calls
findReservation and/or alters context hostname
src/lib/dhcpsrv/tests/alloc_engine_utils.cc
AllocEngine6Test::renewTest() - added call to
AllocEngine6Test::findReservation()
src/lib/dhcpsrv/tests/alloc_engine_utils.h
fixed typo
Diffstat (limited to 'src/lib/dhcpsrv/alloc_engine.h')
-rw-r--r-- | src/lib/dhcpsrv/alloc_engine.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/dhcpsrv/alloc_engine.h b/src/lib/dhcpsrv/alloc_engine.h index bb6835b575..bdda4b8c5f 100644 --- a/src/lib/dhcpsrv/alloc_engine.h +++ b/src/lib/dhcpsrv/alloc_engine.h @@ -498,16 +498,8 @@ public: /// prefixes the client had sent. @ref ClientContext6::old_leases_ will /// contain removed leases in this case. /// - /// @param find_resrv specifies whether the code should search for host - /// reservation. true means that the code will consult HostMgr, false means - /// to skip this check. That is easier to use, but is redundant if the - /// ctx.host_ field is already set. We can't use ctx.host_ == NULL as - /// check, because for cases whithout reservations, the reservation - /// search would be repeated. - /// - /// /// @return Returns renewed lease. - Lease6Collection renewLeases6(ClientContext6& ctx, bool find_resrv = true); + Lease6Collection renewLeases6(ClientContext6& ctx); /// @brief Attempts to find appropriate host reservation. /// |