]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3340] Changes after review:
authorTomek Mrugalski <tomek@isc.org>
Thu, 23 May 2024 13:43:37 +0000 (15:43 +0200)
committerTomek Mrugalski <tomek@isc.org>
Thu, 23 May 2024 13:44:53 +0000 (15:44 +0200)
 - prefix IPv6 Lease => IPv6 prefix lease
 - removed extra comma
 - added a note that subnet-id is optional

doc/sphinx/arm/hooks-lease-cmds.rst
src/hooks/dhcp/lease_cmds/lease_parser.cc

index 56fae773df7f87a12fd634c2f7f5fdeee6e20687..ba92617506ad34d8e6f61f1c656c95999ec48e7a 100644 (file)
@@ -841,9 +841,10 @@ An example IPv4 lease deletion by ``"hw-address"`` is:
    }
 
 The IPv6 address leases are deleted the same way, but using :isccmd:`lease6-del`. The
-prefix IPv6 leases are also deleted using :isccmd:`lease6-del`, but with some extra
+IPv6 prefix leases are also deleted using :isccmd:`lease6-del`, but with some extra
 steps. The prefix should be referenced by its address and prefix length should be ignored.
-For example, to delete 2001:db8:1::/48, the following command can be used:
+For example, to delete 2001:db8:1::/48, the following command can be used. The
+``subnet-id`` parameter is optional.
 
 ::
 
index 666659372f82f2203b22db57fb692b76634941e4..c639c256c94913037fbba80ee9a96dcf3ff07083 100644 (file)
@@ -231,7 +231,7 @@ Lease6Parser::parse(ConstSrvConfigPtr& cfg,
             prefix_len = getUint8(lease_info, "prefix-len");
         } else {
             isc_throw(BadValue, "Incorrect lease type: " << txt << ", the only "
-                      "supported values are: IA_NA, and IA_PD");
+                      "supported values are: IA_NA and IA_PD");
         }
     }