From af7393c517cea37a7091075e5d0d24793bccf013 Mon Sep 17 00:00:00 2001 From: Thomas Markwalder Date: Fri, 16 Aug 2019 12:12:39 -0400 Subject: [PATCH] [#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 --- doc/sphinx/arm/dhcp6-srv.rst | 2 +- src/lib/dhcpsrv/memfile_lease_mgr.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"); } -- 2.47.2