Skip to content

Commit 6f66da2

Browse files
[#3340] Changes after review:
- prefix IPv6 Lease => IPv6 prefix lease - removed extra comma - added a note that subnet-id is optional
1 parent 03b5312 commit 6f66da2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

doc/sphinx/arm/hooks-lease-cmds.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -841,9 +841,10 @@ An example IPv4 lease deletion by ``"hw-address"`` is:
841841
}
842842

843843
The IPv6 address leases are deleted the same way, but using :isccmd:`lease6-del`. The
844-
prefix IPv6 leases are also deleted using :isccmd:`lease6-del`, but with some extra
844+
IPv6 prefix leases are also deleted using :isccmd:`lease6-del`, but with some extra
845845
steps. The prefix should be referenced by its address and prefix length should be ignored.
846-
For example, to delete 2001:db8:1::/48, the following command can be used:
846+
For example, to delete 2001:db8:1::/48, the following command can be used. The
847+
``subnet-id`` parameter is optional.
847848

848849
::
849850

src/hooks/dhcp/lease_cmds/lease_parser.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ Lease6Parser::parse(ConstSrvConfigPtr& cfg,
231231
prefix_len = getUint8(lease_info, "prefix-len");
232232
} else {
233233
isc_throw(BadValue, "Incorrect lease type: " << txt << ", the only "
234-
"supported values are: IA_NA, and IA_PD");
234+
"supported values are: IA_NA and IA_PD");
235235
}
236236
}
237237

0 commit comments

Comments
 (0)