]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1010] Cosmetics
authorFrancis Dupont <fdupont@isc.org>
Thu, 2 Apr 2020 20:02:38 +0000 (22:02 +0200)
committerFrancis Dupont <fdupont@isc.org>
Thu, 2 Apr 2020 20:02:38 +0000 (22:02 +0200)
doc/sphinx/arm/dhcp4-srv.rst
doc/sphinx/arm/dhcp6-srv.rst
src/lib/dhcpsrv/network.cc
src/lib/dhcpsrv/parsers/base_network_parser.h

index 3b946d5da8d16fb2e478aa28526fe6b903648f97..a20e0a347ac2b29a29d5795d50a33fa596abe8ea 100644 (file)
@@ -3735,7 +3735,7 @@ be retained on the lease.  The lease's user-context will look something like thi
     content so long as it does not also use an element labled "ISC".  In other
     words, user-context is intended to be a flexible container serving mulitple
     purposes.  As long as no other purpose also writes an "ISC" element to
-    user-contex there should not be a conflict.
+    user-context there should not be a conflict.
 
 .. _host-reservation-v4:
 
index 1787b90fc1d95d1f83af9b50a5d0c020bc0a4f61..6304247515dd06a678a0c4703aab448101382824 100644 (file)
@@ -3247,7 +3247,7 @@ pretty-printed for clarity):
     any other user-context content so long as it does not also use an element
     labled "ISC".  In other words, user-context is intended to be a flexible
     container serving mulitple purposes.  As long as no other purpose also
-    writes an "ISC" element to user-contex there should not be a conflict.
+    writes an "ISC" element to user-context there should not be a conflict.
 
 .. _host-reservation-v6:
 
index 110632860a58178f72ab6608e0d64ca2ee102939..c57b5bdb4bc78306ec5c9300f3b0a88b28d602b8 100644 (file)
@@ -241,7 +241,8 @@ Network::toElement() const {
     if (!t2_percent_.unspecified()) {
         map->set("t2-percent", Element::create(t2_percent_));
     }
-if (!ddns_send_updates_.unspecified()) {
+
+    if (!ddns_send_updates_.unspecified()) {
         map->set("ddns-send-updates", Element::create(ddns_send_updates_));
     }
 
index eb8ff8e4bd1751a42b27c0513a3d9358cc16a6bc..4e8372fd11d34f161aaed1e19e9305e78b0439a6 100644 (file)
@@ -35,7 +35,7 @@ protected:
     /// The parsed parameters are:
     /// - renew-timer,
     /// - rebind-timer,
-    /// - valid-lifetime
+    /// - valid-lifetime,
     /// - store-extended-info
     ///
     /// @param network_data Data element holding shared network