From: Tomek Mrugalski Date: Thu, 22 Jun 2023 14:22:22 +0000 (+0200) Subject: [#2707] Doc updated X-Git-Tag: Kea-2.4.0~122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c79e3f852e642165a455cc7fcc22cb4dbf6e1854;p=thirdparty%2Fkea.git [#2707] Doc updated Added note about config-set not returning hash for ctrl-agent --- diff --git a/doc/sphinx/arm/ctrl-channel.rst b/doc/sphinx/arm/ctrl-channel.rst index 0ad0549ad2..d1d1318431 100644 --- a/doc/sphinx/arm/ctrl-channel.rst +++ b/doc/sphinx/arm/ctrl-channel.rst @@ -643,8 +643,9 @@ string, ``text``, describing the outcome: {"result": 1, "text": "unsupported parameter: BOGUS (:16:26)" } -Starting with 2.4.0, the successful response also contains a SHA-256 digest of the newly set configuration. -The digest can be used to easily determine if a configuration has changed or not. +Starting with 2.4.0, the successful response from a DHCPv4, DHCPv6, or DHCP-DDNS daemons +also contain a SHA-256 digest of the newly set configuration. The digest can be used to easily +determine if a configuration has changed or not. .. isccmd:: shutdown .. _command-shutdown: diff --git a/src/share/api/config-set.json b/src/share/api/config-set.json index 31a4b7e3ae..60b4d991e4 100644 --- a/src/share/api/config-set.json +++ b/src/share/api/config-set.json @@ -32,9 +32,9 @@ "{ \"result\": 1, \"text\": \"unsupported parameter: BOGUS (:16:26)\" }" ], "resp-comment": [ - "Starting with Kea 2.4.0, the successful response contains an SHA256 digest of the configuration that was ", - "just set. It might be used to determine if a configuration has been modified or not, possibly with the ", - "use of config-hash-get." + "Starting with Kea 2.4.0, the successful response from a DHCPv4, DHCPv6, or DHCP-DDNS daemons", + "also contain a SHA-256 digest of the newly set configuration. The digest can be used to easily", + "determine if a configuration has been modified or not, possibly with the use of config-hash-get." ], "support": [ "kea-dhcp4",