From 8cd15d3c86fe873211503bee488ac026c103ec3b Mon Sep 17 00:00:00 2001 From: Tomek Mrugalski Date: Fri, 26 Apr 2024 09:45:07 +0000 Subject: [#3344] Correct Kea versions in comments --- doc/sphinx/arm/ctrl-channel.rst | 2 +- src/bin/dhcp4/ctrl_dhcp4_srv.cc | 8 ++++---- src/bin/dhcp6/ctrl_dhcp6_srv.cc | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/sphinx/arm/ctrl-channel.rst b/doc/sphinx/arm/ctrl-channel.rst index d4d92e363b..c2eb46607b 100644 --- a/doc/sphinx/arm/ctrl-channel.rst +++ b/doc/sphinx/arm/ctrl-channel.rst @@ -721,7 +721,7 @@ communication between HA partners and should not be specified in the administrator's commands, as it may interfere with HA operation. The administrator should either omit this parameter or set it to "user". -Introduction of ``origin-id`` deprecates the use of the ``origin`` parameter +Introduction of ``origin-id`` in Kea 2.5.8 deprecates the use of the ``origin`` parameter in the messages exchanged between the Kea HA partners. The ``origin-id`` parameter must not be used in messages sent by the user. diff --git a/src/bin/dhcp4/ctrl_dhcp4_srv.cc b/src/bin/dhcp4/ctrl_dhcp4_srv.cc index ef4b7de88b..e18ef22265 100644 --- a/src/bin/dhcp4/ctrl_dhcp4_srv.cc +++ b/src/bin/dhcp4/ctrl_dhcp4_srv.cc @@ -559,9 +559,9 @@ ControlledDhcpv4Srv::commandDhcpDisableHandler(const std::string&, } } } - // 'origin-id' replaces the older parameter 'origin' since Kea 2.6.0 + // 'origin-id' replaces the older parameter 'origin' since Kea 2.5.8 // stable release. However, the 'origin' is kept for backward compatibility - // with Kea versions before 2.6.0. It is common to receive both parameters + // with Kea versions before 2.5.8. It is common to receive both parameters // because HA hook library sends both in case the partner server hasn't been // upgraded to the new version. The 'origin-id' takes precedence over the // 'origin'. @@ -638,9 +638,9 @@ ControlledDhcpv4Srv::commandDhcpEnableHandler(const std::string&, message << "arguments for the 'dhcp-enable' command must be a map"; } else { - // 'origin-id' replaces the older parameter 'origin' since Kea 2.6.0 + // 'origin-id' replaces the older parameter 'origin' since Kea 2.5.8 // stable release. However, the 'origin' is kept for backward compatibility - // with Kea versions before 2.6.0. It is common to receive both parameters + // with Kea versions before 2.5.8. It is common to receive both parameters // because HA hook library sends both in case the partner server hasn't been // upgraded to the new version. The 'origin-id' takes precedence over the // 'origin'. diff --git a/src/bin/dhcp6/ctrl_dhcp6_srv.cc b/src/bin/dhcp6/ctrl_dhcp6_srv.cc index f9d89a1cee..95e6de51da 100644 --- a/src/bin/dhcp6/ctrl_dhcp6_srv.cc +++ b/src/bin/dhcp6/ctrl_dhcp6_srv.cc @@ -561,9 +561,9 @@ ControlledDhcpv6Srv::commandDhcpDisableHandler(const std::string&, } } } - // 'origin-id' replaces the older parameter 'origin' since Kea 2.6.0 + // 'origin-id' replaces the older parameter 'origin' since Kea 2.5.8 // stable release. However, the 'origin' is kept for backward compatibility - // with Kea versions before 2.6.0. It is common to receive both parameters + // with Kea versions before 2.5.8. It is common to receive both parameters // because HA hook library sends both in case the partner server hasn't been // upgraded to the new version. The 'origin-id' takes precedence over the // 'origin'. @@ -640,9 +640,9 @@ ControlledDhcpv6Srv::commandDhcpEnableHandler(const std::string&, message << "arguments for the 'dhcp-enable' command must be a map"; } else { - // 'origin-id' replaces the older parameter 'origin' since Kea 2.6.0 + // 'origin-id' replaces the older parameter 'origin' since Kea 2.5.8 // stable release. However, the 'origin' is kept for backward compatibility - // with Kea versions before 2.6.0. It is common to receive both parameters + // with Kea versions before 2.5.8. It is common to receive both parameters // because HA hook library sends both in case the partner server hasn't been // upgraded to the new version. The 'origin-id' takes precedence over the // 'origin'. -- cgit v1.2.3