diff options
author | Francis Dupont <fdupont@isc.org> | 2019-06-28 22:55:44 +0200 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2019-07-01 14:12:24 +0200 |
commit | fc9307aed96d15f74c287d774f3ea1ce1c2a6aca (patch) | |
tree | 985fc1e3c011b1ef9ff7f05cb74e55af851dc9d1 /src/lib/dhcpsrv | |
parent | [#686,!403] LFC now sees sanity checking as disabled (diff) | |
download | kea-fc9307aed96d15f74c287d774f3ea1ce1c2a6aca.tar.xz kea-fc9307aed96d15f74c287d774f3ea1ce1c2a6aca.zip |
[686-is-it-necessary-to-run-the-sanity-checker-during-lfc-as-well-as-when-starting-kea] splling * cosmetic
Diffstat (limited to 'src/lib/dhcpsrv')
-rw-r--r-- | src/lib/dhcpsrv/lease_file_loader.h | 2 | ||||
-rw-r--r-- | src/lib/dhcpsrv/sanity_checker.h | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/dhcpsrv/lease_file_loader.h b/src/lib/dhcpsrv/lease_file_loader.h index 1a13f22af1..0da1098bf2 100644 --- a/src/lib/dhcpsrv/lease_file_loader.h +++ b/src/lib/dhcpsrv/lease_file_loader.h @@ -134,7 +134,7 @@ public: .arg(lease->toText()); if (lease_checker) { - // If the lease is insane the checker will rese the lease pointer. + // If the lease is insane the checker will reset the lease pointer. // As lease file is loaded during the configuration, we have // to use staging config, rather than current config for this // (false = staging). diff --git a/src/lib/dhcpsrv/sanity_checker.h b/src/lib/dhcpsrv/sanity_checker.h index 57fe7f8e19..9b84789bf8 100644 --- a/src/lib/dhcpsrv/sanity_checker.h +++ b/src/lib/dhcpsrv/sanity_checker.h @@ -28,8 +28,8 @@ class SanityChecker { /// correct subnet-id or discard the lease. /// /// @param lease Lease to be sanity-checked - /// @param current specify whether to use current (true) or staging(false) - /// config + /// @param current specify whether to use current (true) or staging + /// (false) config void checkLease(Lease4Ptr& lease, bool current = true); /// @brief Sanity checks and possibly corrects an IPv6 lease @@ -40,8 +40,8 @@ class SanityChecker { /// type is TYPE_PD, it simply returns. /// /// @param lease Lease to be sanity-checked - /// @param current specify whether to use current (true) or staging(false) - /// config + /// @param current specify whether to use current (true) or staging + /// (false) config void checkLease(Lease6Ptr& lease, bool current = true); /// @brief Indicates the specified configuration enables lease sanity checking. |