From: Thomas Markwalder Date: Fri, 16 Aug 2019 16:12:39 +0000 (-0400) Subject: [#805,!5-p] Addressed more review comments X-Git-Tag: Kea-1.6.0~41^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af7393c517cea37a7091075e5d0d24793bccf013;p=thirdparty%2Fkea.git [#805,!5-p] Addressed more review comments More cleanup following 1.4 and 1.5 branch reviews doc/sphinx/arm/dhcp6-srv.rst src/lib/dhcpsrv/memfile_lease_mgr.cc --- diff --git a/doc/sphinx/arm/dhcp6-srv.rst b/doc/sphinx/arm/dhcp6-srv.rst index d2b3b53a0e..5a4046212f 100644 --- a/doc/sphinx/arm/dhcp6-srv.rst +++ b/doc/sphinx/arm/dhcp6-srv.rst @@ -322,7 +322,7 @@ An example configuration of the memfile backend is presented below: This configuration selects the ``/tmp/kea-leases6.csv`` as the storage for lease information and enables persistence (writing lease updates to this file). It also configures the backend to perform a periodic cleanup -of the lease file every 30 minutes and sets th maximum number of row +of the lease file every 30 minutes and sets the maximum number of row errors to 100. diff --git a/src/lib/dhcpsrv/memfile_lease_mgr.cc b/src/lib/dhcpsrv/memfile_lease_mgr.cc index 9efa6d7d5c..93f84a5d64 100644 --- a/src/lib/dhcpsrv/memfile_lease_mgr.cc +++ b/src/lib/dhcpsrv/memfile_lease_mgr.cc @@ -1429,7 +1429,7 @@ bool Memfile_LeaseMgr::loadLeasesFromFiles(const std::string& filename, try { max_row_errors = boost::lexical_cast(max_row_errors_str); } catch (boost::bad_lexical_cast&) { - isc_throw(isc::BadValue, "invalid value of the max-row-errors" + isc_throw(isc::BadValue, "invalid value of the max-row-errors " << max_row_errors_str << " specified"); }