]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3661] update tuple definition
authorPiotrek Zadroga <piotrek@isc.org>
Thu, 14 Nov 2024 19:40:13 +0000 (20:40 +0100)
committerPiotrek Zadroga <piotrek@isc.org>
Mon, 25 Nov 2024 20:17:57 +0000 (20:17 +0000)
doc/sphinx/arm/dhcp4-srv.rst

index cc46612479294c7e6593a15c43a06a1f2899cffc..e7c27b7639c1f5ed3df64cb18d8168a77ff7206b 100644 (file)
@@ -2200,10 +2200,15 @@ what values are accepted for them.
    |                 | Section                                               |
    |                 | 2 <https://tools.ietf.org/html/rfc2132#section-2>`__. |
    +-----------------+-------------------------------------------------------+
-   | tuple           | A length encoded as an 8-bit (16-bit                  |
-   |                 | for DHCPv6) unsigned integer                          |
-   |                 | followed by a string of this                          |
-   |                 | length.                                               |
+   | tuple           | A length field encoded as an 8-bit                    |
+   |                 | or 16-bit unsigned integer followed by                |
+   |                 | a string of this length. Typically, for DHCPv4,       |
+   |                 | the length is 8-bit, and for DHCPv6, it is 16-bit.    |
+   |                 | However, there might be exceptions to that rule.      |
+   |                 | E.g. for the DHCPv4 SZTP Redirect Option,             |
+   |                 | bootstrap-server-list is encoded as a list of         |
+   |                 | tuples where the URI-length in each tuple is          |
+   |                 | a 16-bit unsigned integer.                            |
    +-----------------+-------------------------------------------------------+
    | uint8           | An 8-bit unsigned integer with                        |
    |                 | allowed values 0 to 255.                              |