From: Francis Dupont Date: Mon, 22 Nov 2021 15:19:16 +0000 (+0100) Subject: [#897] Better math rendering X-Git-Tag: Kea-2.1.2~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e643f9b40068665270aad5294ccedd0a2c809f3;p=thirdparty%2Fkea.git [#897] Better math rendering --- diff --git a/doc/sphinx/arm/hooks-lease-cmds.rst b/doc/sphinx/arm/hooks-lease-cmds.rst index ecd9736c74..a91be3f9b7 100644 --- a/doc/sphinx/arm/hooks-lease-cmds.rst +++ b/doc/sphinx/arm/hooks-lease-cmds.rst @@ -506,14 +506,14 @@ An example result returned when the host was found: The client last transaction time (``cltt`` field) is bound to the valid lifetime (``valid-lft``) and to the expire date (not reported here but stored in databases) by the equation - :math:`cltt + valid_lft = expire` + :math:`cltt + valid\_lft = expire` at the exception of the infinite valid lifetime coded by the 0xfffffff (4294967295) special value which makes the expire value to overflow on MySQL and old PostgreSQL backends where timestamps are 32 bit long. So in these lease databases the expire date is the same as the cltt i.e. - :math:`cltt = expire` when :math:`valid_lft = 0xffffffff` and the + :math:`cltt = expire` when :math:`valid\_lft = 4294967295` and the lease backend is MySQL or PostgreSQL. .. _command-lease4-get-all: