From: Francis Dupont Date: Tue, 19 May 2020 19:19:12 +0000 (+0200) Subject: [#1180] Other fixes X-Git-Tag: Kea-1.7.8~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b8ce14deaea64e2d5360f8bb5ca340cdd364e69;p=thirdparty%2Fkea.git [#1180] Other fixes --- diff --git a/doc/sphinx/arm/dhcp4-srv.rst b/doc/sphinx/arm/dhcp4-srv.rst index 63d8f78ad0..99950c67f5 100644 --- a/doc/sphinx/arm/dhcp4-srv.rst +++ b/doc/sphinx/arm/dhcp4-srv.rst @@ -5350,7 +5350,7 @@ The DHCPv4 server supports the following statistics: +-------------------------------------------+----------------+------------------------------------+ | Statistic | Data Type | Description | - +===========================================+================+===================================-+ + +===========================================+================+====================================+ | pkt4-received | integer | Number of DHCPv4 packets | | | | received. This includes all | | | | packets: valid, bogus, | diff --git a/doc/sphinx/arm/hooks-lease-query.rst b/doc/sphinx/arm/hooks-lease-query.rst index 70511995d0..72acf77bfc 100644 --- a/doc/sphinx/arm/hooks-lease-query.rst +++ b/doc/sphinx/arm/hooks-lease-query.rst @@ -26,12 +26,15 @@ active lease information for either a single IP address or a single client. RFC 4388 calls for three such queries: - Query by IP address + The IP address of interest is contained within the ``ciaddr`` field of the query. - Query by hardware address + The hardware address of interest is contained with the ``chaddr`` field of the query. - Query by client identifier + The client identifier of interest is sent in the dhcp-client-identifier option (61) of the query. @@ -49,15 +52,18 @@ In response to a valid query, the server will return one of three message types: - DHCPLEASEUNKNOWN + Returned when the IP address of interest is not one the server knows about (query by IP address); or there are no active leases for the client of interest (query by hardware address or client id). - DHCPLEASEUNASSIGNED + Returned when the IP address is one the server knows of but for which there are no active leases (applies only to query by IP address). - DHCPLEASEACTIVE + Returned when there is at least one active lease found matching the criteria. @@ -77,15 +83,15 @@ In addition, one or more of the following options will be included: .. table:: DHCPLEASEACTIVE Options :class: longtable - :widths: 20 10 70 + :widths: 30 10 70 +------------------------------+-------+-----------------------------------------------+ | Option | Code | Content | +==============================+=======+===============================================+ | dhcp-client-identifier | 61 | copied from the lease (if one) | +------------------------------+-------+-----------------------------------------------+ - | client-last-tranasction-time | 91 | amount of time that has elapsed since the | - | (CLTT) | | lease's client-last-transation-time (CLTT) | + | client-last-transaction-time | 91 | amount of time that has elapsed since the | + | | | lease's client-last-transaction-time (CLTT) | | | | This value will also be used by the server to | | | | adjust life time and timer values. | +------------------------------+-------+-----------------------------------------------+